Explorar el Código

fix: increase timeout for itchat

master
lanvent hace 1 año
padre
commit
3f78e43bbf
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      channel/wechat/wechat_channel.py

+ 2
- 0
channel/wechat/wechat_channel.py Ver fichero

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


Cargando…
Cancelar
Guardar