Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Concurrency extension to not break perform_now #593

Merged
merged 3 commits into from
May 15, 2022

Conversation

bensheldon
Copy link
Owner

@bensheldon bensheldon commented May 7, 2022

As reported in #591, previously running a job with concurrency control via perform_now would always raise and retry.

This change allows the job to execute immediately if concurrency limits have not been exceeded, otherwise it will be enqueued.

Concurrency limits are only enforced for perform_later.

… the global concurrency limit"

This reverts commit db595b0.
@bensheldon bensheldon changed the title Allow perform_now to execute (if it does not exceed the global concurrency limit) Fix Concurrency extension to not break perform_now May 14, 2022
@bensheldon bensheldon added the bug Something isn't working label May 14, 2022
@bensheldon bensheldon merged commit f03bfc2 into main May 15, 2022
@bensheldon bensheldon deleted the concurrency-perform_now branch May 15, 2022 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant