add rtmt log
This commit is contained in:
parent
63037ec02d
commit
2818749b58
@ -83,6 +83,7 @@ export class RTMTWS extends EventEmitter2 implements RTMT {
|
||||
clearTimeout(this.pingTimeout);
|
||||
this.pingTimeout = setTimeout(() => {
|
||||
if (!this.webSocket) return;
|
||||
console.log("(RTMT) WebSocket self closed");
|
||||
this.webSocket.close();
|
||||
this.onWebSocketClose(this.webSocket);
|
||||
}, RTMT_WS_PING_INTERVAL + RTMT_WS_PING_INTERVAL_BUFFER_TIME);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user