Skip to content

Commit

Permalink
更新 telegram.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp authored Sep 22, 2023
1 parent dc41f49 commit f173c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/modules/telegram/telegram.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def run_polling():
定义线程函数来运行 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}")

Expand Down

0 comments on commit f173c21

Please sign in to comment.