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

feat: shutdown node cleanly on signal #610

Merged
merged 1 commit into from
Apr 7, 2025
Merged

Conversation

agaffney
Copy link
Contributor

@agaffney agaffney commented Apr 7, 2025

Fixes #72

@agaffney agaffney requested a review from a team as a code owner April 7, 2025 20:51
Fixes #72

Signed-off-by: Aurora Gaffney <aurora@blinklabs.io>
@agaffney agaffney force-pushed the feat/shutdown-on-signal branch from 319d639 to 5f9cf14 Compare April 7, 2025 21:03
@agaffney
Copy link
Contributor Author

agaffney commented Apr 7, 2025

$ ./dingo
{"time":"2025-04-07T17:03:38.834584146-04:00","level":"INFO","msg":"maxprocs: Leaving GOMAXPROCS=8: CPU quota undefined","component":"dingo"}
{"time":"2025-04-07T17:03:38.834625416-04:00","level":"INFO","msg":"version: devel (commit 5f9cf14)","component":"dingo"}
{"time":"2025-04-07T17:03:38.837575558-04:00","level":"INFO","msg":"serving prometheus metrics on 0.0.0.0:12798","component":"node"}
...
^C{"time":"2025-04-07T17:03:43.269910893-04:00","level":"INFO","msg":"signal received, shutting down"}

@agaffney agaffney merged commit 7545558 into main Apr 7, 2025
11 checks passed
@agaffney agaffney deleted the feat/shutdown-on-signal branch April 7, 2025 21:18
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.

Support for cleanly shutting down due to signal
2 participants