Do you think you could add a new option to send a SIGTERM to the node.js app instead of crashing it?
Like that I would be able to build in a mechanism respecting current connections, shutting them down gracefully with a 502 header message like "Server is in the process of restarting".
Howdy
Do you think you could add a new option to send a SIGTERM to the node.js app instead of crashing it?
Like that I would be able to build in a mechanism respecting current connections, shutting them down gracefully with a 502 header message like "Server is in the process of restarting".
What do you think?
Cheers Michael