Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement graceful shutdown with tokio signal handling #2

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

steebchen
Copy link
Contributor

Added an async shutdown signal handler using tokio's ctrl_c and Unix signal handling to allow for graceful shutdown of the server. Adjusted Cargo.toml to include the full feature set of tokio and updated dependencies in Cargo.lock accordingly.

Added an async shutdown signal handler using tokio's ctrl_c and Unix signal handling to allow for graceful shutdown of the server. Adjusted `Cargo.toml` to include the full feature set of tokio and updated dependencies in `Cargo.lock` accordingly.
@steebchen steebchen enabled auto-merge (squash) September 11, 2024 19:34
@steebchen steebchen merged commit 29e97ac into main Sep 11, 2024
4 checks passed
@steebchen steebchen deleted the feat/graceful branch September 11, 2024 19:35
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.

1 participant