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
Graceful shutdown is recommended for GRPC servers. Upon receiving a SIGTERM stop serving new requests and wait a maximum predetermined amount of time to finish existing requests before closing the program. This would be helpful to document if it's done already or add an example showing how to add it. Even better would be adding a recommended implementation of this that users can enable either in this crate or via another crate.
It does also change the response from a health checking service so should be considered when doing #135
The text was updated successfully, but these errors were encountered:
and wait a maximum predetermined amount of time to finish existing requests before closing the program
Is it just me, or is tonic killing all requests immediately upon shutdown? If I put a sleep on a unary request and then send a signal that I am capturing and forwarding on to Tonic, the server just dies immediately.
Graceful shutdown is recommended for GRPC servers. Upon receiving a SIGTERM stop serving new requests and wait a maximum predetermined amount of time to finish existing requests before closing the program. This would be helpful to document if it's done already or add an example showing how to add it. Even better would be adding a recommended implementation of this that users can enable either in this crate or via another crate.
It does also change the response from a health checking service so should be considered when doing #135
The text was updated successfully, but these errors were encountered: