From 45063206d003034974b6ca22b1ab093445173d2a Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 19 Nov 2021 22:21:32 +0500 Subject: [PATCH] Fix reconnect tries Without this param passed, the client will only reconnect once. --- client-src/socket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-src/socket.js b/client-src/socket.js index a4bc8f8255..14d8ceb36c 100644 --- a/client-src/socket.js +++ b/client-src/socket.js @@ -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); } });