Merge pull request #193 from vadz/show-concurrency

Show the number of threads used in the startup message
This commit is contained in:
Jaeseung Ha 2017-09-17 18:31:24 +09:00 committed by GitHub
commit 4786dac0a8

View File

@ -148,7 +148,8 @@ namespace crow
});
}
CROW_LOG_INFO << server_name_ << " server is running, local port " << port_;
CROW_LOG_INFO << server_name_ << " server is running on port " << port_
<< " using " << concurrency_ << " threads";
signals_.async_wait(
[&](const boost::system::error_code& /*error*/, int /*signal_number*/){