Skip to content

Commit

Permalink
fix: reconnection logic (#4044)
Browse files Browse the repository at this point in the history
  • Loading branch information
wclr committed Nov 22, 2021
1 parent 5e7c001 commit 9b32c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client-src/socket.js
Expand Up @@ -47,7 +47,7 @@ const socket = function initSocket(url, handlers, reconnect) {
log.info("Trying to reconnect...");

setTimeout(() => {
socket(url, handlers);
socket(url, handlers, reconnect);
}, retryInMs);
}
});
Expand Down

0 comments on commit 9b32c96

Please sign in to comment.