bandaid fix time
This commit is contained in:
@@ -78,7 +78,10 @@ export class User {
|
|||||||
if (!this.socket.isOpen()) return;
|
if (!this.socket.isOpen()) return;
|
||||||
clearInterval(this.nopSendInterval);
|
clearInterval(this.nopSendInterval);
|
||||||
this.nopSendInterval = setInterval(() => this.sendNop(), 5000);
|
this.nopSendInterval = setInterval(() => this.sendNop(), 5000);
|
||||||
this.socket.send(msg);
|
this.socket.send(msg)
|
||||||
|
.catch((err: Error) => {
|
||||||
|
this.logger.Error(`bandaid fix: ${err.message}`);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private onNoMsg() {
|
private onNoMsg() {
|
||||||
|
|||||||
Reference in New Issue
Block a user