Expand description
SIGTERM-driven graceful shutdown primitives shared by all services
Structs§
- Shutdown
Fanout - Fans a shutdown future out to N consumers via a watch channel.
Functions§
- serve_
axum_ with_ graceful_ shutdown - Serves an Axum application, draining in-flight requests when
shutdownfires. - wait_
for_ sigterm - Completes when SIGTERM is received. On non-unix targets, never completes (preserves current behavior; production deploys are Linux/ECS).