Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit cf29972

Browse files
author
Martin Cizek
committed
fix
1 parent c861135 commit cf29972

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/client/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,8 +793,8 @@ Client.prototype.connect = function connect () {
793793

794794
// Establish basic socket connection
795795
function connectSocket (cb) {
796-
self._nextServer = (self._nextServer + 1) % self.urls.length
797796
var server = self.urls[self._nextServer]
797+
self._nextServer = (self._nextServer + 1) % self.urls.length
798798

799799
cb = once(cb)
800800

0 commit comments

Comments
 (0)