mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-02-18 16:17:05 +08:00
fix: increase timeout for itchat
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user