Browse Source

fix: increase timeout for itchat

master
lanvent 1 year ago
parent
commit
3f78e43bbf
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      channel/wechat/wechat_channel.py

+ 2
- 0
channel/wechat/wechat_channel.py 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:


Loading…
Cancel
Save