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
Right now, shutting down the server (via ^C) will forcefully close any goroutines that are running, including any that are processing requests. Ideally, the server should receive the signal, wait to finish processing requests while denying new requests, and then shutdown.
Right now, shutting down the server (via
^C
) will forcefully close any goroutines that are running, including any that are processing requests. Ideally, the server should receive the signal, wait to finish processing requests while denying new requests, and then shutdown.A tutorial on how to implement this in Golang: https://www.rudderstack.com/blog/implementing-graceful-shutdown-in-go/
The text was updated successfully, but these errors were encountered: