node-supe
node-supe copied to clipboard
Automatic Decrement of Citizen's Retries prevents Supervisor from Shutting Down
Currently uses setTimeout to reduce counter tracking how many times citizen was automatically restarted by supervisor.
Unfortunately, this creates an async resource that prevents the supervising process from shutting down.
https://github.com/Akamaozu/node-supe/blob/master/lib/modules/supervisor/supervision/restart-crashed-citizens.js#L26