socket.io by default uses a 25 second ping and 20 second timeout, so 45 seconds. 60 seconds gives us that plus a little buffer before redis expires a key. This should only be used if something goes wrong on the server and the socket.io keepalive functionality fails, as a socket.io timeout will clear the redis key before the expire happens.
socket.io by default uses a 25 second ping and 20 second timeout, so 45 seconds. 60 seconds gives us that plus a little buffer before redis expires a key. This should only be used if something goes wrong on the server and the socket.io keepalive functionality fails, as a socket.io timeout will clear the redis key before the expire happens.
Signed-off-by: Dan Cunningham dan@digitaldan.com