doxout/recluster — pull request #12 by clint-tseng (2014-01-03 18:36:13+00:00)
Title: add a stop() method which terminates cluster management but not workers.

Not sure if I'm just doing it wrong, but I have a case where:

1. I want to allow open http connections to finish out before gracefully exiting
2. My workers can catch a SIGTERM/SIGINT and handle their own cleanup
3. The master should allow all workers to exit before shutting things down

So, I want to allow my workers to suicide on completion, and have the master not respawn the workers, but then close out when completed. This seems to allow for that case. Specifically, the fact that terminate() does a SIGKILL prevents me from using it, and this seems more flexible.