diff options
| author | Stefan Boberg <[email protected]> | 2026-02-20 15:01:42 +0100 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-02-20 15:01:42 +0100 |
| commit | a024a6427f64c455a71edc507e43388265700764 (patch) | |
| tree | 0419f0010020a096f0b3ad63cd0aed747b82fc06 /src/zenhttp/servers/httpsys.cpp | |
| parent | added new I/O thread pool implementation (diff) | |
| download | zen-a024a6427f64c455a71edc507e43388265700764.tar.xz zen-a024a6427f64c455a71edc507e43388265700764.zip | |
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
Diffstat (limited to 'src/zenhttp/servers/httpsys.cpp')
| -rw-r--r-- | src/zenhttp/servers/httpsys.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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); } } |