This commit is contained in:
Martin Cizek 2020-09-18 15:36:12 +02:00
parent c861135f80
commit cf29972990
1 changed files with 1 additions and 1 deletions

View File

@ -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)