Sfoglia il codice sorgente

fix: increase timeout for itchat

master
lanvent 1 anno fa
parent
commit
3f78e43bbf
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      channel/wechat/wechat_channel.py

+ 2
- 0
channel/wechat/wechat_channel.py Vedi 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…
Annulla
Salva