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

Gracefully shutdown threads. #104

Open
Tomperez98 opened this issue Dec 6, 2024 · 1 comment
Open

Gracefully shutdown threads. #104

Tomperez98 opened this issue Dec 6, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Tomperez98
Copy link
Collaborator

Right now, we rely on daemon=True. But it would be better if we can have a method on resonate.close() that gracefully shutdown all threads:

  • Scheduler
  • Processor
  • DelayQueue
  • Task source
@flossypurse
Copy link
Contributor

flossypurse commented Jan 17, 2025

This + #117 sounds like we need to think about a Resonate Application Node's lifecycle management holistically?

@flossypurse flossypurse added the enhancement New feature or request label Jan 17, 2025
@flossypurse flossypurse moved this to In progress in Resonate Engineering Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In progress
Development

No branches or pull requests

2 participants