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
v1.18.x
psychobunny 10 years ago
parent f35a51e48d
commit 0d741f0031

@ -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() {

Loading…
Cancel
Save