socket.io icon indicating copy to clipboard operation
socket.io copied to clipboard

When running in cluster with RedisStore, in Socket.prototype.dispatch this.manager.transports[this.id] is null

Open shubik opened this issue 13 years ago • 0 comments

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?

shubik avatar Jun 03 '13 23:06 shubik