From a024a6427f64c455a71edc507e43388265700764 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Fri, 20 Feb 2026 15:01:42 +0100 Subject: made http.sys async worker thread pool configurable via the same option as the main I/O pool this is also to gain control over threads to improve shutdown behaviour --- src/zenhttp/servers/httpsys.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/zenhttp/servers/httpsys.cpp') diff --git a/src/zenhttp/servers/httpsys.cpp b/src/zenhttp/servers/httpsys.cpp index 6809c280a..4406d0619 100644 --- a/src/zenhttp/servers/httpsys.cpp +++ b/src/zenhttp/servers/httpsys.cpp @@ -1332,7 +1332,8 @@ HttpSysServer::WorkPool() if (!m_AsyncWorkPool) { - m_AsyncWorkPool = new WorkerThreadPool(m_InitialConfig.AsyncWorkThreadCount, "http_async"); + m_AsyncWorkPool = + new WorkerThreadPool(m_InitialConfig.AsyncWorkThreadCount, "http_async", m_InitialConfig.UseExplicitIoThreadPool); } } -- cgit v1.2.3