Roman

Results comments of Roman

Sadly, to reproduce it is enough to try to compile console.log('test'); Here is an example gif https://imgur.com/a/LPXCYAP But i ll try to create just a single file repository with my...

About connection count what is rising constantly - it's not pm2 problem, i turned down nginx, pm2, cluster and left only one instance which i run on pure node.js with...

@darrachequesne I am not sure i understood right but it's standart ``` var socket = io('http://localhost'); socket.on('message', function (data) { console.log(data); }); ``` and on server side it is ```...

Preliminary reason is redis flushing on `SIGINT`. I am using same instance of redis for `socket.io-redis` adapter and for storing chat application cache, and i am flushing it on server...

What does it means "it's not working" ? Also, just in case, if you must be sure your messages wont be dropped, use `io.emit` instead of `io.volatile.emit`

Solved with https://github.com/socketio/socket.io/pull/888#issuecomment-298606092

``` rm -rf node_modules ``` and reinstalling looks like fixed the problem.

> When you shutdown your socketio server, socketio must not be calling the .on('disconnect'), thats why the counter doesnt decrement. @vmarchaud Sorry, do you mean it must not call, or...

Small addition to topic, i noticed what when i try to reload/restart my pm2, it says what some processed cant be killed.

About connection count what is rising constantly - it's not pm2 problem, i turned down nginx, pm2, cluster and left only one instance which i run on pure node.js with...