aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaeseung Ha <ipknhama@gmail.com>2017-09-17 18:31:24 +0900
committerGitHub <noreply@github.com>2017-09-17 18:31:24 +0900
commit4786dac0a8e908345e25a4c79da9175201f6b7fc (patch)
tree6fb5e26179fb5f0d34fcc2c03903b9f7ae47abfc
parent112e86b9067bf84700ece37f3ea18328571e810b (diff)
parent34b050ee8f62d60cbc321ae985f7c5f7e2d70e48 (diff)
downloadcrow-4786dac0a8e908345e25a4c79da9175201f6b7fc.tar.gz
crow-4786dac0a8e908345e25a4c79da9175201f6b7fc.zip
Merge pull request #193 from vadz/show-concurrency
Show the number of threads used in the startup message
-rw-r--r--include/crow/http_server.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/crow/http_server.h b/include/crow/http_server.h
index 7e4da56..787fdb8 100644
--- a/include/crow/http_server.h
+++ b/include/crow/http_server.h
@@ -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*/){