Skip to content

feat: implement graceful shutdown with resource cleanup - #62

Merged
MaryammAli merged 1 commit into
Proof-Stell:mainfrom
portableDD:fix/graceful-shutdown
Aug 21, 2026
Merged

feat: implement graceful shutdown with resource cleanup#62
MaryammAli merged 1 commit into
Proof-Stell:mainfrom
portableDD:fix/graceful-shutdown

Conversation

@portableDD

Copy link
Copy Markdown
Contributor

Summary

Implements graceful shutdown handling for the ProofStell service binary.

Changes

  • Adds SIGTERM/SIGINT signal handler with health endpoint returning 503 during shutdown
  • Drains webhook DLQ and flushes cache before exit
  • Enables tokio signal feature in Cargo.toml

Closes #58

@MaryammAli MaryammAli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MaryammAli
MaryammAli merged commit 259f5e0 into Proof-Stell:main Aug 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Graceful Shutdown with Resource Cleanup Handlers

2 participants