Skip to content

Commit e0cdebb

Browse files
committed
Disable excessive websocket heartbeat logs
1 parent d6c6dc9 commit e0cdebb

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

apps/webapp/app/v3/authenticatedSocketConnection.server.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ export class AuthenticatedSocketConnection {
6262
});
6363

6464
ws.on("pong", (data) => {
65-
logger.debug("[AuthenticatedSocketConnection] Received pong", {
66-
id: this.id,
67-
envId: this.authenticatedEnv.id,
68-
data,
69-
});
65+
// logger.debug("[AuthenticatedSocketConnection] Received pong", {
66+
// id: this.id,
67+
// envId: this.authenticatedEnv.id,
68+
// data,
69+
// });
7070
});
7171

7272
this._pingService = new HeartbeatService({
@@ -76,10 +76,10 @@ export class AuthenticatedSocketConnection {
7676
return;
7777
}
7878

79-
logger.debug("[AuthenticatedSocketConnection] Sending ping", {
80-
id: this.id,
81-
envId: this.authenticatedEnv.id,
82-
});
79+
// logger.debug("[AuthenticatedSocketConnection] Sending ping", {
80+
// id: this.id,
81+
// envId: this.authenticatedEnv.id,
82+
// });
8383

8484
ws.ping();
8585
},

0 commit comments

Comments
 (0)