fix
This commit is contained in:
parent
c861135f80
commit
cf29972990
|
@ -793,8 +793,8 @@ Client.prototype.connect = function connect () {
|
|||
|
||||
// Establish basic socket connection
|
||||
function connectSocket (cb) {
|
||||
self._nextServer = (self._nextServer + 1) % self.urls.length
|
||||
var server = self.urls[self._nextServer]
|
||||
self._nextServer = (self._nextServer + 1) % self.urls.length
|
||||
|
||||
cb = once(cb)
|
||||
|
||||
|
|
Loading…
Reference in New Issue