Disable excessive websocket heartbeat logs

This commit is contained in:
nicktrn
2024-07-17 13:27:37 +01:00
parent d6c6dc993d
commit e0cdebbe09
@@ -62,11 +62,11 @@ export class AuthenticatedSocketConnection {
});
ws.on("pong", (data) => {
logger.debug("[AuthenticatedSocketConnection] Received pong", {
id: this.id,
envId: this.authenticatedEnv.id,
data,
});
// logger.debug("[AuthenticatedSocketConnection] Received pong", {
// id: this.id,
// envId: this.authenticatedEnv.id,
// data,
// });
});
this._pingService = new HeartbeatService({
@@ -76,10 +76,10 @@ export class AuthenticatedSocketConnection {
return;
}
logger.debug("[AuthenticatedSocketConnection] Sending ping", {
id: this.id,
envId: this.authenticatedEnv.id,
});
// logger.debug("[AuthenticatedSocketConnection] Sending ping", {
// id: this.id,
// envId: this.authenticatedEnv.id,
// });
ws.ping();
},