From 07e2df59856ef71bcac54d47c9d4d35b6f9ba7cd Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Fri, 10 Oct 2025 15:34:30 +0200 Subject: added --corelimit option to zenserver --- src/zenhttp/servers/httpsys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/zenhttp/servers/httpsys.cpp') 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 { -- cgit v1.2.3