소스 검색

fix: increase timeout for itchat

master
lanvent 1 년 전
부모
커밋
3f78e43bbf
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      channel/wechat/wechat_channel.py

+ 2
- 0
channel/wechat/wechat_channel.py 파일 보기

@@ -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…
취소
저장