salvo-graceful-shutdown
OfficialGraceful, zero-downtime Salvo shutdowns
Authorsalvo-rs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Graceful shutdown ensures in-flight requests complete before the server stops, preventing abrupt drops and data inconsistency.
Core Features & Use Cases
- Cross-platform signal handling (Ctrl+C, SIGTERM) to initiate shutdown
- Timed graceful stop with ServerHandle::stop_graceful to wait for in-flight requests
- Health-check integration and readiness signals to cooperate with load balancers and orchestrators
- Cleanup tasks executed before shutdown to release resources
Quick Start
Register a shutdown listener that triggers a graceful stop with a timeout when a termination signal is received.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: salvo-graceful-shutdown Download link: https://github.com/salvo-rs/salvo-skills/archive/main.zip#salvo-graceful-shutdown Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.