Pārlūkot izejas kodu

fix: increase timeout for itchat

master
lanvent pirms 2 gadiem
vecāks
revīzija
3f78e43bbf
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      channel/wechat/wechat_channel.py

+ 2
- 0
channel/wechat/wechat_channel.py Parādīt failu

@@ -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:


Notiek ielāde…
Atcelt
Saglabāt