socket.io
socket.io copied to clipboard
When running in cluster with RedisStore, in Socket.prototype.dispatch this.manager.transports[this.id] is null
I use io.set('store'...) and when I run 1 thread, everything works. When I run > 1 thread and try to emit event to socket, in Socket.prototype.dispatch first condition fails because this.manager.transports[this.id] is null. On single thread it has transport object. But again, when running > 1 thread, when client connects, and socket emits 1::/something, this transports object is not null. I am lost - when does it become null?