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
This commit is contained in:
psychobunny
2014-10-08 15:05:36 -04:00
parent f35a51e48d
commit 0d741f0031

View File

@@ -26,13 +26,13 @@ SocketMeta.reconnected = function(socket, data, callback) {
user.notifications.pushCount(uid); user.notifications.pushCount(uid);
} }
if (process.env.NODE_ENV === 'development') { /*if (process.env.NODE_ENV === 'development') {
if (uid) { if (uid) {
winston.info('[socket] uid ' + uid + ' (' + sessionID + ') has successfully reconnected.'); winston.info('[socket] uid ' + uid + ' (' + sessionID + ') has successfully reconnected.');
} else { } else {
winston.info('[socket] An anonymous user (' + sessionID + ') has successfully reconnected.'); winston.info('[socket] An anonymous user (' + sessionID + ') has successfully reconnected.');
} }
} }*/
}; };
emitter.on('nodebb:ready', function() { emitter.on('nodebb:ready', function() {