更新 telegram.py

This commit is contained in:
jxxghp
2023-09-22 13:04:20 +08:00
committed by GitHub
parent dc41f4946a
commit f173c21695

View File

@ -52,7 +52,7 @@ class Telegram(metaclass=Singleton):
定义线程函数来运行 infinity_polling
"""
try:
_bot.infinity_polling(long_polling_timeout=10)
_bot.infinity_polling(long_polling_timeout=30)
except Exception as err:
logger.error(f"Telegram消息接收服务异常{err}")