Skip to content

Node.js based forum software built for the modern web

commenting out the reconnection messages, it's annoying if you have 500 users online

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