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

Suppress poll conflict warning base on timestamps #103

Closed
blueset opened this issue May 18, 2020 · 0 comments
Closed

Suppress poll conflict warning base on timestamps #103

blueset opened this issue May 18, 2020 · 0 comments

Comments

@blueset
Copy link
Member

blueset commented May 18, 2020

Sometimes poll conflict warnings are issued when one getUpdates request is not properly received before another one is sent. This is usually caused by an unstable connection to Telegram API server.

Fix: store the timestamp at when the last warning issued. Bot shall only notify the admin when the last seen alarm is within 60 seconds.


Suggested by @ jqqqqqqqqqq.

@blueset blueset closed this as completed in ea46039 Jul 8, 2020
YouXam pushed a commit to YouXam/efb-telegram-master that referenced this issue Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant