8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 502c62b commit d656082Copy full SHA for d656082
telegram/ext/_updater.py
@@ -405,7 +405,7 @@ async def _get_updates_cleanup() -> None:
405
await self.bot.get_updates(
406
offset=self._last_update_id,
407
# We don't want to do long polling here!
408
- timeout=0,
+ timeout=5,
409
read_timeout=read_timeout,
410
connect_timeout=connect_timeout,
411
write_timeout=write_timeout,
0 commit comments