Mercurial > hg > orthanc
comparison Core/HttpServer/HttpServer.cpp @ 3180:07a2f637b76d
new option: "HttpThreadsCount" to set the number of threads in the embedded HTTP server
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 30 Jan 2019 17:50:51 +0100 |
parents | 6d558598d713 |
children | 10e2b9f4162f |
comparison
equal
deleted
inserted
replaced
3179:fca730c267d7 | 3180:07a2f637b76d |
---|---|
1200 throw OrthancException(ErrorCode_ParameterOutOfRange); | 1200 throw OrthancException(ErrorCode_ParameterOutOfRange); |
1201 } | 1201 } |
1202 | 1202 |
1203 Stop(); | 1203 Stop(); |
1204 threadsCount_ = threads; | 1204 threadsCount_ = threads; |
1205 | |
1206 LOG(INFO) << "The embedded HTTP server will use " << threads << " threads"; | |
1205 } | 1207 } |
1206 | 1208 |
1207 | 1209 |
1208 void HttpServer::SetTcpNoDelay(bool tcpNoDelay) | 1210 void HttpServer::SetTcpNoDelay(bool tcpNoDelay) |
1209 { | 1211 { |