diff options
| author | Stefan Boberg <[email protected]> | 2025-10-10 15:34:30 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2025-10-10 15:34:30 +0200 |
| commit | 07e2df59856ef71bcac54d47c9d4d35b6f9ba7cd (patch) | |
| tree | 53b8f7e17e1f57af409e703f0a2ffcb7f90378ab /src/zenhttp/servers/httpsys.cpp | |
| parent | made server count dynamic via `--count` argument (diff) | |
| download | zen-07e2df59856ef71bcac54d47c9d4d35b6f9ba7cd.tar.xz zen-07e2df59856ef71bcac54d47c9d4d35b6f9ba7cd.zip | |
added --corelimit option to zenserver
Diffstat (limited to 'src/zenhttp/servers/httpsys.cpp')
| -rw-r--r-- | src/zenhttp/servers/httpsys.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenhttp/servers/httpsys.cpp b/src/zenhttp/servers/httpsys.cpp index 95d83911d..c83675f2c 100644 --- a/src/zenhttp/servers/httpsys.cpp +++ b/src/zenhttp/servers/httpsys.cpp @@ -930,7 +930,7 @@ HttpSysServer::HttpSysServer(const HttpSysConfig& InConfig) if (m_InitialConfig.ThreadCount == 0) { - MinThreadCount = Max(8u, std::thread::hardware_concurrency()); + MinThreadCount = Max(8u, GetHardwareConcurrency()); } else { |