make sure wait is positive
This commit is contained in:
parent
45b5852e50
commit
c99f9a6b97
@ -77,7 +77,7 @@ public final class SocketIOClient: NSObject, SocketEngineClient {
|
||||
case .ReconnectAttempts(let attempts):
|
||||
reconnectAttempts = attempts
|
||||
case .ReconnectWait(let wait):
|
||||
reconnectWait = wait
|
||||
reconnectWait = abs(wait)
|
||||
case .Nsp(let nsp):
|
||||
self.nsp = nsp
|
||||
case .Log(let log):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user