From 0d741f003125a13d7ed1b46fb94af591811a7ea5 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Wed, 8 Oct 2014 15:05:36 -0400 Subject: [PATCH] commenting out the reconnection messages, it's annoying if you have 500 users online not sure if we do need it though, so just leaving it there for now --- src/socket.io/meta.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/socket.io/meta.js b/src/socket.io/meta.js index 8f54aed766..6ccda3dd8d 100644 --- a/src/socket.io/meta.js +++ b/src/socket.io/meta.js @@ -26,13 +26,13 @@ SocketMeta.reconnected = function(socket, data, callback) { user.notifications.pushCount(uid); } - if (process.env.NODE_ENV === 'development') { + /*if (process.env.NODE_ENV === 'development') { if (uid) { winston.info('[socket] uid ' + uid + ' (' + sessionID + ') has successfully reconnected.'); } else { winston.info('[socket] An anonymous user (' + sessionID + ') has successfully reconnected.'); } - } + }*/ }; emitter.on('nodebb:ready', function() {