Skip to content

Added remove-empty-groups option#283

Merged
ncabatoff merged 7 commits intoncabatoff:masterfrom
zviRosenfeldRedis:Remove-Dead-Processes
Jul 21, 2024
Merged

Added remove-empty-groups option#283
ncabatoff merged 7 commits intoncabatoff:masterfrom
zviRosenfeldRedis:Remove-Dead-Processes

Conversation

@zviRosenfeldRedis
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

@ncabatoff. Thanks. I've solved the conflicts

@ncabatoff ncabatoff merged commit e2a9f0d into ncabatoff:master Jul 21, 2024
@ncabatoff
Copy link
Copy Markdown
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