fix: reconnect issue
This commit is contained in:
parent
4c414481b7
commit
5a0987170b
@ -56,7 +56,6 @@ export class RTMTWS implements RTMT {
|
||||
// sends out pings plus a conservative assumption of the latency.
|
||||
this.pingTimeout = setTimeout(() => {
|
||||
this.ws.close();
|
||||
this.ws.onclose?.(new CloseEvent("CONNECTION_LOST"));
|
||||
}, PING_INTERVAL + PING_INTERVAL_BUFFER_TIME);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user