Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
5fb234c2
Commit
5fb234c2
authored
16 years ago
by
Giulia Taurelli
Browse files
Options
Downloads
Patches
Plain Diff
tapegateway notify port moved to the PortNumbers file
parent
7c4d806e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
castor/PortNumbers.hpp
+5
-0
5 additions, 0 deletions
castor/PortNumbers.hpp
castor/tape/tapegateway/TapeGatewayDaemon.cpp
+2
-2
2 additions, 2 deletions
castor/tape/tapegateway/TapeGatewayDaemon.cpp
with
7 additions
and
2 deletions
castor/PortNumbers.hpp
+
5
−
0
View file @
5fb234c2
...
...
@@ -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
This diff is collapsed.
Click to expand it.
castor/tape/tapegateway/TapeGatewayDaemon.cpp
+
2
−
2
View file @
5fb234c2
...
...
@@ -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_
NOTIFY
PORT
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment