fix: increase timeout for itchat

master
lanvent 2023-03-25 13:29:09 +08:00
parent ab6670b3af
commit 3f78e43bbf
1 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,8 @@ class WechatChannel(Channel):
pass
def startup(self):
itchat.instance.receivingRetryCount = 600 # 修改断线超时时间
# login by scan QRCode
hotReload = conf().get('hot_reload', False)
try: