-
Notifications
You must be signed in to change notification settings - Fork 65
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
Add worker auto-respawning with max tries #2
Comments
Hi Guillermo, First of all... really loving up. Right now when a worker dies there is no respawn.. is that correct? Is there any current strategy at ensuring workers stay alive? Maybe listen for a worker failure and send a kill -s SIGUSR2 to the master pid? |
Right now I have nothing for worker reloading I believe. We can start with the simplest implementation, but it quickly can get out of control if you don't cover many of the things I mention in this ticket. eg: crazy recursive/cyclic reloads that bring the server down because of faulty code. |
At the same time, maybe that problem needs to be solved at a different layer of abstraction. |
See my comments in #21 |
It seems this has been integrated and documented, but has not yet been translated to the npm repository. Just a heads up. |
I think merging #60 will close this out.
|
numWorkers
or above ?The text was updated successfully, but these errors were encountered: