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

refactor: uses a Doer for graceful shutdown #86

Merged
merged 1 commit into from
Jan 11, 2025

Conversation

kentbull
Copy link
Contributor

Instead of a signal handler outside of the Doist this uses a signal handler Doer inside of the Doist loop

Instead of a signal handler outside of the Doist this uses a signal handler Doer inside of the Doist loop
@kentbull kentbull merged commit f5e14bb into WebOfTrust:main Jan 11, 2025
2 checks passed
@kentbull kentbull deleted the doer-graceful-shutdown branch January 11, 2025 20:21
@SmithSamuelM
Copy link
Collaborator

The Doist is already trapping SigInt from the Python Interpreter. So you only need to had a signal handler for SigTerm.

@kentbull
Copy link
Contributor Author

Thanks Sam, I fixed it here: #89.
I'll go fix the one in my KERIA PR as well.

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