Closed SuperPat45 closed 3 years ago
@SuperPat45 Good point. I don't recall the reason behind connectTimeout
, but clearly I fully agree with your analysis. If you can test it and send me a pull request I will do the release. Gigantic thanks as usual!
The
_reconnectWithFallbackTransport
function uses theconnectTimeout
parameter asreconnectInterval
:Are there any reason to do this instead of use the true
reconnectInterval
parameter of the request ?This would seem more logical and would allow in case the websocket is not available to reconnect in long-pooling without waiting as
reconnectInterval
is 0 even ifconnectTimeout
is > 0.