fix(robomp): promote deferred events on periodic sweep
Ran deferred-submission promotion on an independent timer in addition to the empty-queue path, so a sustained ordinary queue can no longer starve a rate-limited submitter after their rolling window frees. Added ROBOMP_DEFERRED_PROMOTION_SCAN_SECONDS to tune or disable the sweep. Fixes #5882
This commit is contained in:
@@ -150,6 +150,9 @@ ROBOMP_RATE_LIMIT_WINDOW_SECONDS=3600
|
||||
ROBOMP_RATE_LIMIT_DEFAULT=3
|
||||
ROBOMP_RATE_LIMIT_CONTRIBUTOR=10
|
||||
ROBOMP_RATE_LIMIT_UNLIMITED=
|
||||
# How often (seconds) deferred events are swept back into the queue as windows
|
||||
# free up, independent of queue depth. Set to 0 to disable the periodic sweep.
|
||||
ROBOMP_DEFERRED_PROMOTION_SCAN_SECONDS=60
|
||||
|
||||
|
||||
# =============================================================================
|
||||
|
||||
Reference in New Issue
Block a user