Graceful shutdown
Also written: Shutdown, stopping cleanly
Stopping a server by letting requests in progress finish before it exits. `srv.Shutdown` with a timeout does this when a signal such as SIGTERM arrives.
Also written: Shutdown, stopping cleanly
Stopping a server by letting requests in progress finish before it exits. `srv.Shutdown` with a timeout does this when a signal such as SIGTERM arrives.