mirror of
https://github.com/agent-substrate/substrate.git
synced 2026-11-11 10:23:17 +08:00
Make the server trap SIGTERM and initiate a graceful shutdown process. This involves reporting the Pod as not ready, and draining all in-flight gRPC requests so they can complete. Part of #181