变更:增加Websocket重试时间间隔

pull/2010/MERGE
ChenX 2 years ago
parent 77a271b780
commit 8e8136ea3f

@ -47,7 +47,7 @@ export class WebSocketClientServer
this.OnLinkEvent(false); this.OnLinkEvent(false);
if (retry && e.code !== 1000 && !this._Closeing) if (retry && e.code !== 1000 && !this._Closeing)
this._ReTryTime = setTimeout(() => this.Connect(), 1000); this._ReTryTime = setTimeout(() => this.Connect(), 5000);
}; };
if (timeOut) if (timeOut)

Loading…
Cancel
Save