-
Notifications
You must be signed in to change notification settings - Fork 210
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
CTL + C cannot stop #496
Comments
#470 changes a little update processing. Can you check if the bug is reproducible with https://github.com/teloxide/teloxide/tree/dispatching2? |
Still the same |
So, this is a bug in the polling implementation: teloxide/src/dispatching/update_listeners/polling.rs Lines 74 to 82 in c12fae2
When stopping we call |
When a network error occurs, it cannot be stopped through CTL + C, and it will cycle all the time.
And when the network is normal, CTL + C will stop service very slowly. Can you optimize it?
Meta
teloxide
version: 0.5.3rustc
version:1.57.0
The text was updated successfully, but these errors were encountered: