Open danielfigueroaj opened 4 years ago
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.
Thanks!
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.
Thanks!