From e0cdebbe0939fc625de4c461dba3ea90557dfd2d Mon Sep 17 00:00:00 2001 From: nicktrn <55853254+nicktrn@users.noreply.github.com> Date: Wed, 17 Jul 2024 13:27:37 +0100 Subject: [PATCH] Disable excessive websocket heartbeat logs --- .../v3/authenticatedSocketConnection.server.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/webapp/app/v3/authenticatedSocketConnection.server.ts b/apps/webapp/app/v3/authenticatedSocketConnection.server.ts index 6be2a2a7f..ce9843878 100644 --- a/apps/webapp/app/v3/authenticatedSocketConnection.server.ts +++ b/apps/webapp/app/v3/authenticatedSocketConnection.server.ts @@ -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(); },