aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/servers/httpsys.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-04-03 12:02:41 +0200
committerStefan Boberg <[email protected]>2026-04-03 12:02:41 +0200
commit60c99bf00c7e13a621980e15627d0d4902953906 (patch)
tree31e6beb0d3902702a6f49b9490f31d9157bb9953 /src/zenhttp/servers/httpsys.cpp
parentSeparate action and worker chunk stores for compute service (diff)
downloadzen-60c99bf00c7e13a621980e15627d0d4902953906.tar.xz
zen-60c99bf00c7e13a621980e15627d0d4902953906.zip
Lower priority of compute worker processes to below-normal
Prevent worker processes from starving the main zenserver process by launching them at below-normal scheduling priority across all platforms. - Windows runner: set JOB_OBJECT_LIMIT_PRIORITY_CLASS with BELOW_NORMAL_PRIORITY_CLASS on the shared job object - Linux/macOS/Wine runners: call nice(5) in the child after fork - Managed runner: set new Flag_BelowNormalPriority on CreateProcOptions - CreateProc: apply BELOW_NORMAL_PRIORITY_CLASS on Windows, setpriority(PRIO_PROCESS, pid, 5) on Linux/macOS
Diffstat (limited to 'src/zenhttp/servers/httpsys.cpp')
0 files changed, 0 insertions, 0 deletions