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

Feature Request: Allow setting a minimum required concurrency for rules #27

Open
andrew-luminal opened this issue Nov 24, 2020 · 0 comments

Comments

@andrew-luminal
Copy link

andrew-luminal commented Nov 24, 2020

For rules that are intended to spawn multiple open-ended processes (such as live-reloading rules), a certain level of concurrency is required, or they will break. Allow us to set a required_concurrency parameter on a rule? Behavior could either be that it fails with a message if the zim config jobs setting or the -j flag is too low, or just bump it up to that number for that rule.

Alternative option is to just have a live: true flag on rules that, when set, will automatically spawn that rule in its own process. This live: true flag could maybe also turn on --output unbuffered for that rule?

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

No branches or pull requests

1 participant