Skip to content

Commit 6c288a3

Browse files
committed
feat(coordinator): implement TaskTracker-based graceful shutdown
- Replace raw tokio::spawn with TaskTracker for background task management - Add 30-second timeout for graceful task completion during shutdown - Add 10-second database operation timeouts in heartbeat worker cleanup - Implement force shutdown on second Ctrl+C signal - Improve error handling during shutdown to prevent hanging - Add tokio-util "rt" feature for TaskTracker support - Enhance shutdown logging with detailed progress messages
1 parent 636e816 commit 6c288a3

6 files changed

Lines changed: 497 additions & 44 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)