You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I implement graceful shutdown of the server?
I would like to capture SIGINT and SIGHUP signals and then I would like to stop listening for new connections. I would still like to process pending connections and after some TIMEOUT I would like to kill the server even if there are still some pending connections.
Can you help me in this matter?
The text was updated successfully, but these errors were encountered:
How can I implement graceful shutdown of the server?
I would like to capture SIGINT and SIGHUP signals and then I would like to stop listening for new connections. I would still like to process pending connections and after some TIMEOUT I would like to kill the server even if there are still some pending connections.
Can you help me in this matter?
The text was updated successfully, but these errors were encountered: