mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 23:15:48 +01:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user