You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to set a timeout to the connect() method?
I've seen the default timeout is 60 seconds, but I would like to have a shorter interval, i.e 10 seconds, and if no connection then get the connected.on('error') callback.