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

Merged
merged 7 commits into from
Jul 21, 2024

Conversation

zviRosenfeldRedis
Copy link
Contributor

@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 zviRosenfeldRedis force-pushed the Remove-Dead-Processes branch from 6da7d02 to 64dee46 Compare May 1, 2024 07:09
@zviRosenfeldRedis
Copy link
Contributor Author

@ncabatoff. Thanks. I've solved the conflicts

@ncabatoff ncabatoff merged commit e2a9f0d into ncabatoff:master Jul 21, 2024
@ncabatoff
Copy link
Owner

Thanks @zviRosenfeldRedis !

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