-
Notifications
You must be signed in to change notification settings - Fork 55
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
Shutdown handling/signal example #14
Comments
Hi @fmorency |
yeah this is hitting me as well |
I ran into this also. The shutdown mechanism seems to block (in my debugging, it seemed to be related to not properly starting all its tokio tasks). I fixed it on my fork by simplifying the shutdown method and making it async, but I imagine that doesn't meet the design you're going for: |
Hey @tuck182 that'll work, please open a PR? |
So, could this be fixed? |
I've been meaning to create a PR; I'll do that this weekend |
Hi
tokio-cron-schedule
team!Thanks a lot for making this crate!
I am currently trying to handle a graceful shutdown of my application, but I'm having a hard time making it work properly.
The following application never stops, even after catching the Ctrl-C, unless I uncomment the
std::process::exit()
line. I don't understand why.Thanks!
The text was updated successfully, but these errors were encountered: