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

feat: availability.exit_on_end #78

Merged
merged 2 commits into from
Jul 21, 2023

Conversation

adrian-gierakowski
Copy link
Contributor

a bool flag, if set to true, shuts down all processes once
given process ends (regardless of exit code)

this can be used together with availability.restart = on_failure to
have the process restarted on failure and only exit PC on success

closes #77

a bool flag, if set to true, shuts down all processes once
given process ends (regardless of exit code)

this can be used together with `availability.restart = on_failure` to
have the process restarted on failure and only exit PC on success

closes F1bonacc1#77
@adrian-gierakowski
Copy link
Contributor Author

built and manually tested locally

let me know if you think we should add some tests, and if so, what's the easiest way to run them

@F1bonacc1
Copy link
Owner

Thank you @adrian-gierakowski for the PR!
Would you mind documenting this feature?
BTW, the use case that you mentioned in #77 is very helpful.

Cheers!

@adrian-gierakowski
Copy link
Contributor Author

Sure, will do!

@adrian-gierakowski adrian-gierakowski force-pushed the feat/add-availability-exit_on_end branch from 1425ee8 to 8e83c5b Compare July 21, 2023 20:59
@F1bonacc1
Copy link
Owner

Looks Good, Thanks!

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.

add option to stop all other process on one process completion
2 participants