Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta-dcache-frontend
Commits
4bb0009e
Commit
4bb0009e
authored
May 12, 2022
by
Tigran Mkrtchyan
☕
Browse files
main: use c++ 17
parent
cbc2137c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Main.cpp
View file @
4bb0009e
...
...
@@ -24,7 +24,6 @@
#include
"common/log/StdoutLogger.hpp"
#include
"common/log/Logger.hpp"
#include
"common/log/LogLevel.hpp"
#include
"common/make_unique.hpp"
#include
"scheduler/OStoreDB/OStoreDBInit.hpp"
#include
<getopt.h>
...
...
@@ -140,10 +139,10 @@ int main(const int argc, char *const *const argv) {
auto
backed
=
config
.
getConfEntString
(
"ObjectStore"
,
"BackendPath"
);
lc
.
log
(
log
::
INFO
,
"Using scheduler backend: "
+
backed
);
auto
sInit
=
cta
::
make_unique
<
SchedulerDBInit_t
>
(
"Frontend"
,
backed
,
logger
);
auto
sInit
=
std
::
make_unique
<
SchedulerDBInit_t
>
(
"Frontend"
,
backed
,
logger
);
auto
scheddb
=
sInit
->
getSchedDB
(
*
catalogue
,
logger
);
scheddb
->
setBottomHalfQueueSize
(
25000
);
auto
scheduler
=
cta
::
make_unique
<
cta
::
Scheduler
>
(
*
catalogue
,
*
scheddb
,
5
,
2
*
1000
*
1000
);
auto
scheduler
=
std
::
make_unique
<
cta
::
Scheduler
>
(
*
catalogue
,
*
scheddb
,
5
,
2
*
1000
*
1000
);
CtaRpcImpl
svc
(
&
logger
,
catalogue
,
scheduler
);
...
...
@@ -193,4 +192,4 @@ int main(const int argc, char *const *const argv) {
lc
.
log
(
cta
::
log
::
INFO
,
"Listening on socket address: "
+
server_address
);
server
->
Wait
();
}
\ No newline at end of file
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment