mirror of
https://github.com/cdryzun/tg_bot_collections.git
synced 2025-04-29 00:27:09 +08:00
fix: poll
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
parent
9ae26d110e
commit
f417f8faa0
2
tg.py
2
tg.py
@ -31,7 +31,7 @@ def main():
|
|||||||
|
|
||||||
# Start bot
|
# Start bot
|
||||||
print("Starting tg collections bot.")
|
print("Starting tg collections bot.")
|
||||||
bot.infinity_polling(timeout=40, long_polling_timeout=120)
|
bot.infinity_polling(timeout=10, long_polling_timeout=5)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user