aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/proxy/tcpproxy.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-20 13:11:14 +0100
committerStefan Boberg <[email protected]>2026-03-20 13:11:14 +0100
commit65cbe02f15cd66e7733907f26ddcc2b9a598a768 (patch)
treee30b5a771e7b59f519ea82faa1c5f28b4511e943 /src/zenserver/proxy/tcpproxy.cpp
parentadded bright variants to ANSI colour helper macros (diff)
downloadzen-65cbe02f15cd66e7733907f26ddcc2b9a598a768.tar.xz
zen-65cbe02f15cd66e7733907f26ddcc2b9a598a768.zip
Fix infinite loop in BaseRunnerGroup::SubmitActions when actions exceed runner capacity
The round-robin distribution loop spun forever when the number of actions exceeded total runner capacity, since no runner could accept more work and ActionIdx never advanced. Cap the loop at TotalCapacity and return rejection results for any excess actions.
Diffstat (limited to 'src/zenserver/proxy/tcpproxy.cpp')
0 files changed, 0 insertions, 0 deletions