Closed gvilarino closed 9 years ago
From the documentation:
If
pauseOnConnect
istrue
, then the socket associated with each incoming connection will be paused, and no data will be read from its handle. This allows connections to be passed between processes without any data being read by the original process. To begin reading data from a paused socket, callresume()
.
so sticky-session
's author just clarified that workers automatically resume sockets when receiving them. Closing this.
I've been trying
sticky-session
with a 4-process cluster and it seems to be working.However, on your example you mention explicitly the need to call
resume()
for a slave to take over incoming socket data. The thing is,sticky-session
doesn't useresume()
and it seems to be working nonetheless.¿Could you please shed some light? I'm really new to this.