Adding executor description for verbose output, adding output directory for build artifacts
This commit is contained in:
@@ -270,11 +270,15 @@ int main(int argc, char **argv)
|
||||
doc.SetObject();
|
||||
}
|
||||
|
||||
auto logger = loggerFactory(doc);
|
||||
auto executor = executorFactory(doc);
|
||||
|
||||
if (verbose) {
|
||||
std::cout << "Server running at http://" << listenIP << ':' << listenPort
|
||||
<< std::endl
|
||||
<< "Max DAG Processing: " << dagThreads << std::endl
|
||||
<< "Max Web Clients: " << webThreads << std::endl
|
||||
<< "Executor: " << executor->description() << std::endl
|
||||
<< std::endl
|
||||
<< "Ctrl-C to exit" << std::endl;
|
||||
}
|
||||
@@ -283,9 +287,6 @@ int main(int argc, char **argv)
|
||||
daemonize();
|
||||
}
|
||||
|
||||
auto logger = loggerFactory(doc);
|
||||
auto executor = executorFactory(doc);
|
||||
|
||||
Pistache::Address listenSpec(listenIP, listenPort);
|
||||
|
||||
daggy::daggyd::Server server(listenSpec, *logger, *executor, dagThreads);
|
||||
|
||||
Reference in New Issue
Block a user