Skip to content
Snippets Groups Projects
Commit 5fb234c2 authored by Giulia Taurelli's avatar Giulia Taurelli
Browse files

tapegateway notify port moved to the PortNumbers file

parent 7c4d806e
Branches
Tags
No related merge requests found
......@@ -54,6 +54,11 @@ namespace castor {
*/
static const int STAGER_DEFAULT_NOTIFYPORT = 55015;
/**
* The default port on which tapegateway listens for notifications.
*/
static const int TAPEGATEWAY_DEFAULT_NOTIFYPORT = 62801; // for future use
} // namespace castor
#endif // CASTOR_PORTNUMBERS
......@@ -55,8 +55,8 @@
#include "castor/tape/tapegateway/RecallerErrorHandlerThread.hpp"
#include "castor/tape/tapegateway/WorkerThread.hpp"
#include "castor/tape/tapegateway/VmgrTapeGatewayHelper.hpp"
#include "castor/PortNumbers.hpp"
#define TAPEGATEWAY_DEFAULT_PORT 62801
#define DEFAULT_SLEEP_INTERVAL 10
#define VDQM_TIME_OUT_INTERVAL 600 // Timeout between two polls on a VDQM request
#define MIN_WORKER_THREADS 5
......@@ -349,7 +349,7 @@ castor::tape::tapegateway::TapeGatewayDaemon::TapeGatewayDaemon() : castor::serv
throw ex;
}
} else {
m_listenPort= TAPEGATEWAY_DEFAULT_PORT;
m_listenPort= castor::TAPEGATEWAY_DEFAULT_NOTIFYPORT;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment