Merge pull request #24 from jhalitaksoy/fix/reconnect-issue
fix: reconnect issue
This commit is contained in:
commit
bff7677206
@ -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