fix(terminal): remove verbose websocket message logging
This commit is contained in:
parent
cabcd8f699
commit
1368026f20
2 changed files with 0 additions and 8 deletions
|
|
@ -271,12 +271,6 @@ function handleMessage(userSession, message) {
|
|||
return;
|
||||
}
|
||||
|
||||
logTerminal('log', 'Received websocket message.', {
|
||||
userId: userSession.userId,
|
||||
keys: Object.keys(parsed),
|
||||
isActive: userSession.isActive,
|
||||
});
|
||||
|
||||
Object.entries(parsed).forEach(([key, value]) => {
|
||||
const handler = messageHandlers[key];
|
||||
if (handler && (userSession.isActive || key === 'checkActive' || key === 'command' || key === 'ping')) {
|
||||
|
|
|
|||
|
|
@ -396,8 +396,6 @@ export function initializeTerminalComponent() {
|
|||
},
|
||||
|
||||
handleSocketMessage(event) {
|
||||
logTerminal('log', '[Terminal] Received WebSocket message:', event.data);
|
||||
|
||||
// Handle pong responses
|
||||
if (event.data === 'pong') {
|
||||
this.heartbeatMissed = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue