8000 increase timeout value · guillemap/python-telegram-bot@d656082 · GitHub
[go: up one dir, main page]

Skip to content

Commit d656082

Browse files
authored
increase timeout value
1 parent 502c62b commit d656082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

telegram/ext/_updater.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ async def _get_updates_cleanup() -> None:
405405
await self.bot.get_updates(
406406
offset=self._last_update_id,
407407
# We don't want to do long polling here!
408-
timeout=0,
408+
timeout=5,
409409
read_timeout=read_timeout,
410410
connect_timeout=connect_timeout,
411411
write_timeout=write_timeout,

0 commit comments

Comments
 (0)
0