diff options
| author | Dan Engelbrecht <[email protected]> | 2022-11-18 14:26:39 +0100 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2022-11-25 10:17:34 +0100 |
| commit | f39cd9252addfa2d55d92bebc671746c4f766b37 (patch) | |
| tree | 2c9addc0da0c756caca96b30d12eec7ffd150e55 /zenhttp/httpasio.cpp | |
| parent | reduce parsing of compressed headers (diff) | |
| download | zen-de/compressed-buffer-creation-opts.tar.xz zen-de/compressed-buffer-creation-opts.zip | |
create matching number of asio worker thread as UE has in client connectionsde/compressed-buffer-creation-opts
Diffstat (limited to 'zenhttp/httpasio.cpp')
| -rw-r--r-- | zenhttp/httpasio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zenhttp/httpasio.cpp b/zenhttp/httpasio.cpp index 39a363711..4a5bf1724 100644 --- a/zenhttp/httpasio.cpp +++ b/zenhttp/httpasio.cpp @@ -1261,7 +1261,7 @@ HttpAsioServer::RegisterService(HttpService& Service) int HttpAsioServer::Initialize(int BasePort) { - m_BasePort = m_Impl->Start(gsl::narrow<uint16_t>(BasePort), Max(std::thread::hardware_concurrency(), 8u)); + m_BasePort = m_Impl->Start(gsl::narrow<uint16_t>(BasePort), Clamp(std::thread::hardware_concurrency(), 8u, 64u)); return m_BasePort; } |