mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-21 14:17:11 +08:00
fix: increase timeout for itchat
This commit is contained in:
@@ -51,6 +51,8 @@ class WechatChannel(Channel):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
def startup(self):
|
def startup(self):
|
||||||
|
|
||||||
|
itchat.instance.receivingRetryCount = 600 # 修改断线超时时间
|
||||||
# login by scan QRCode
|
# login by scan QRCode
|
||||||
hotReload = conf().get('hot_reload', False)
|
hotReload = conf().get('hot_reload', False)
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user