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

[master] Support limiting the number of states running in parallel #66957

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

lkubb
Copy link
Contributor

@lkubb lkubb commented Oct 10, 2024

What does this PR do?

Adds support for limiting the number of states executing in parallel via a new configuration called state_max_parallel.

This solution is a bit ugly, but alternative implementations proved hard to be implemented in a backwards-compatible way or came with performance concerns.

Based on #66956

What issues does this PR fix or reference?

Fixes: #49301

Previous Behavior

No limit on the number of states running in parallel.

New Behavior

States running in parallel can be limited via configuration.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

@lkubb lkubb force-pushed the parallel-max branch 2 times, most recently from 9daa4c8 to b6f5d50 Compare November 2, 2024 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Salt parallel execution has no min/max control for state parallel support
1 participant