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

peerdb-server: receive sigint & exit #706

Merged
merged 1 commit into from
Nov 23, 2023
Merged

peerdb-server: receive sigint & exit #706

merged 1 commit into from
Nov 23, 2023

Conversation

serprex
Copy link
Contributor

@serprex serprex commented Nov 23, 2023

Does not gracefully shutdown all sockets. To do that we'd need to store the sockets from listen to a map & shutdown. But all the programs we're interfacing with should be handling connection being dropped suddenly

Fixes #682

@serprex serprex merged commit bf8db46 into main Nov 23, 2023
12 checks passed
@serprex serprex deleted the nexus-sigint branch December 19, 2023 16:37
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.

Make PeerDB Server gracefully exit on ctrl+c / SIGINT
2 participants