diff --git a/cli/lib/nf3.mjs b/cli/lib/nf3.mjs index cd1c00d57..57b72ac02 100644 --- a/cli/lib/nf3.mjs +++ b/cli/lib/nf3.mjs @@ -591,11 +591,11 @@ class Nf3 { this.intervalIDs.push( setInterval(() => { connection._ws.ping(); - logger.debug('sent websocket ping'); + // logger.debug('sent websocket ping'); }, WEBSOCKET_PING_TIME), ); // and a listener for the pong - connection._ws.on('pong', () => logger.debug('websocket received pong')); + // connection._ws.on('pong', () => logger.debug('websocket received pong')); logger.debug('websocket connection opened'); connection.send('instant'); }; @@ -837,11 +837,11 @@ class Nf3 { this.intervalIDs.push( setInterval(() => { connection._ws.ping(); - logger.debug('sent websocket ping'); + // logger.debug('sent websocket ping'); }, WEBSOCKET_PING_TIME), ); // and a listener for the pong - connection._ws.on('pong', () => logger.debug('websocket received pong')); + // connection._ws.on('pong', () => logger.debug('websocket received pong')); logger.debug('websocket connection opened'); connection.send('blocks'); }; @@ -906,11 +906,11 @@ class Nf3 { this.intervalIDs.push( setInterval(() => { connection._ws.ping(); - logger.debug('sent websocket ping'); + // logger.debug('sent websocket ping'); }, WEBSOCKET_PING_TIME), ); // and a listener for the pong - connection._ws.on('pong', () => logger.debug('websocket received pong')); + // connection._ws.on('pong', () => logger.debug('websocket received pong')); logger.debug('websocket connection opened'); connection.send('blocks'); }; @@ -962,11 +962,11 @@ class Nf3 { this.intervalIDs.push( setInterval(() => { connection._ws.ping(); - logger.debug('sent websocket ping'); + // logger.debug('sent websocket ping'); }, WEBSOCKET_PING_TIME), ); // and a listener for the pong - connection._ws.on('pong', () => logger.debug('websocket received pong')); + // connection._ws.on('pong', () => logger.debug('websocket received pong')); logger.debug('websocket connection opened'); connection.send('challenge'); }; @@ -1012,11 +1012,11 @@ class Nf3 { this.intervalIDs.push( setInterval(() => { connection._ws.ping(); - logger.debug('sent websocket ping'); + // logger.debug('sent websocket ping'); }, WEBSOCKET_PING_TIME), ); // and a listener for the pong - connection._ws.on('pong', () => logger.debug('websocket received pong')); + // connection._ws.on('pong', () => logger.debug('websocket received pong')); logger.debug('websocket connection opened'); connection.send('challenge'); }; diff --git a/nightfall-optimist/src/event-handlers/subscribe.mjs b/nightfall-optimist/src/event-handlers/subscribe.mjs index 3c8325776..ac354f016 100644 --- a/nightfall-optimist/src/event-handlers/subscribe.mjs +++ b/nightfall-optimist/src/event-handlers/subscribe.mjs @@ -38,7 +38,7 @@ function setupWebsocketEvents(ws, socketName) { }, WEBSOCKET_PING_TIME); // check we received a pong in time (clears the timer set by the pinger) ws.on('pong', () => { - logger.debug(`Got pong from ${socketName} websocket`); + // logger.debug(`Got pong from ${socketName} websocket`); clearTimeout(timeoutID); }); ws.on('error', () => {