mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-08-28 19:47:41 +08:00
fix timeout
This commit is contained in:
@@ -52,7 +52,7 @@ class Telegram(metaclass=Singleton):
|
|||||||
定义线程函数来运行 infinity_polling
|
定义线程函数来运行 infinity_polling
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
_bot.infinity_polling(long_polling_timeout=5)
|
_bot.infinity_polling(long_polling_timeout=10)
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
logger.error(f"Telegram消息接收服务异常:{err}")
|
logger.error(f"Telegram消息接收服务异常:{err}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user