node-supe icon indicating copy to clipboard operation
node-supe copied to clipboard

Automatic Decrement of Citizen's Retries prevents Supervisor from Shutting Down

Open Akamaozu opened this issue 4 years ago • 0 comments

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

Akamaozu avatar Apr 22 '21 15:04 Akamaozu