Skip to content

Concurrency limit: allow pausing workers

What does this MR do and why?

This MR updates the logic of concurrency limit middleware so that it could also be used for pausing workers. Related to https://gitlab.com/gitlab-com/gl-infra/scalability/-/issues/3775#note_2089502716

After this MR is merged, the concurrency_limit lambda can return negative numbers to pause the execution completely.

#486986 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Dmitry Gruzd

Merge request reports

Loading