Skip to content

Use Job::Setter to indicate resumed job for concurrency limiting

Sylvester Chin requested to merge sc1-concurrency-limit-setter into master

What does this MR do and why?

Use Job::Setter to indicate resumed job for concurrency limiting

Instead of using related_class in the job context, we explicitly set a field concurrency_limit_resume with a boolean value when resuming a job.

This allows us to refactor ConcurrencyLimitService freely without risking breakages.

Changelog: other

Follow-up to !167027 (comment 2156954757)

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.

Merge request reports

Loading