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

Added remove-empty-groups option #283

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

zviRosenfeldRedis
Copy link

@zviRosenfeldRedis zviRosenfeldRedis commented Nov 20, 2023

If this option is True (default false) we'll remove groups if they have 0 processes (by default we leave the group, assuming processes from that group will be back)

The only real change is at the end of file proc/grouper.go - where I remove un-found groups if remove-dead-groups is true

fixed #282

@zviRosenfeldRedis zviRosenfeldRedis changed the title Added remove-dead-groups option Added remove-empty-groups option Nov 20, 2023
@ncabatoff
Copy link
Owner

This seems like a reasonable option. If you resolve the conflicts I'm open to merging it. Sorry for the long delay!

@zviRosenfeldRedis
Copy link
Author

@ncabatoff. Thanks. I've solved the conflicts

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.

Remove process group when namedprocess_namegroup_num_procs = 0
2 participants