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

Shut down gracefully on Ctrl+C #670

Merged
merged 3 commits into from
Nov 26, 2024
Merged

Shut down gracefully on Ctrl+C #670

merged 3 commits into from
Nov 26, 2024

Conversation

goto-bus-stop
Copy link
Member

Cleanly closes the database and HTTP server, in particular.

If there's ongoing work, üWave can attempt to publish messages to Redis
post-disconnect, which will error. Potentially it would be nice to have
an AbortSignal throughout the server for shutdown, but that's a bit more
work :)

Cleanly closes the database and HTTP server, in particular.

If there's ongoing work, üWave can attempt to publish messages to Redis
post-disconnect, which will error. Potentially it would be nice to have
an AbortSignal throughout the server for shutdown, but that's a bit more
work :)
@coveralls
Copy link

coveralls commented Nov 26, 2024

Coverage Status

coverage: 82.09% (+0.001%) from 82.089%
when pulling c1a9e4d on sigint
into 89e2a3a on default.

@goto-bus-stop goto-bus-stop enabled auto-merge (squash) November 26, 2024 07:41
@goto-bus-stop goto-bus-stop merged commit 3e95976 into default Nov 26, 2024
12 checks passed
@goto-bus-stop goto-bus-stop deleted the sigint branch November 26, 2024 07:42
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.

2 participants