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 3 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

@salt-project-bot-prod-environment salt-project-bot-prod-environment bot changed the title Support limiting the number of states running in parallel [master] Support limiting the number of states running in parallel Oct 10, 2024
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