fix: poll

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
yihong0618 2024-03-18 17:34:24 +08:00
parent 9ae26d110e
commit f417f8faa0

2
tg.py
View File

@ -31,7 +31,7 @@ def main():
# Start 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__":