Skip to content

Commit

Permalink
Log WS sessions termination
Browse files Browse the repository at this point in the history
  • Loading branch information
Tripperful committed Feb 16, 2024
1 parent e33b0de commit e38db6f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/server/src/ws/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ export class WsApi {

if (sessionId) {
delete this.remotesBySessionId[sessionId];

console.log(`Closed WS connection: ${remoteHost}`);
}
});
});
Expand Down

0 comments on commit e38db6f

Please sign in to comment.