Mercurial > hg > orthanc
diff OrthancServer/main.cpp @ 3852:ee0a1211419f
reverting default HttpThreadsCount to 50, as this slows performance of integration tests from 40s to 170s
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 20 Apr 2020 17:39:11 +0200 |
parents | bdbe12aba99f |
children | 67f988f42cef 3ab2d48c8f69 ff0718a4633a |
line wrap: on
line diff
--- a/OrthancServer/main.cpp Mon Apr 20 16:46:44 2020 +0200 +++ b/OrthancServer/main.cpp Mon Apr 20 17:39:11 2020 +0200 @@ -906,7 +906,7 @@ httpDescribeErrors = lock.GetConfiguration().GetBooleanParameter("HttpDescribeErrors", true); // HTTP server - httpServer.SetThreadsCount(lock.GetConfiguration().GetUnsignedIntegerParameter("HttpThreadsCount", 10)); + httpServer.SetThreadsCount(lock.GetConfiguration().GetUnsignedIntegerParameter("HttpThreadsCount", 50)); httpServer.SetPortNumber(lock.GetConfiguration().GetUnsignedIntegerParameter("HttpPort", 8042)); httpServer.SetRemoteAccessAllowed(lock.GetConfiguration().GetBooleanParameter("RemoteAccessAllowed", false)); httpServer.SetKeepAliveEnabled(lock.GetConfiguration().GetBooleanParameter("KeepAlive", defaultKeepAlive));