diff options
| author | Stefan Boberg <[email protected]> | 2026-04-02 18:54:47 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-04-02 18:54:47 +0200 |
| commit | ab9ff98c693490db3dd5bc2bb89c774699d86ad3 (patch) | |
| tree | 7447d3d5556662811ea61c5f0e0206e3bbce2f5a /src/zenhttp/httpserver.cpp | |
| parent | Expand environment variables in --data-dir and improve HordeAgent (diff) | |
| download | zen-ab9ff98c693490db3dd5bc2bb89c774699d86ad3.tar.xz zen-ab9ff98c693490db3dd5bc2bb89c774699d86ad3.zip | |
Improve compute scheduler throughput and reduce lock contention
- Parallelize per-runner SubmitActions via WorkerThreadPool when
multiple runners are active
- Make remote submissions non-blocking: dispatch to pool and return
immediately, marking actions as Submitting so the scheduler won't
re-pick them; failures transition to Failed for auto-retry
- Downgrade m_ActionMapLock from exclusive to shared in
SchedulePendingActions and move sort/resize outside the lock
- Release m_RunnersLock before submitting by snapshotting runners
as Ref copies, avoiding holding the lock during HTTP I/O
- Add per-runner submit timing warning (>500ms) with host context
- Add GetDisplayName() virtual to FunctionRunner for diagnostics
Diffstat (limited to 'src/zenhttp/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions