From 3997a96f26787ae85b7cc057c802186b7bfc39e0 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 16 Sep 2013 12:42:46 +0000 Subject: [PATCH] feature(socket) max reconnection attempts: 1000000 -> Math.pow(2, 64) --- lib/client/socket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client/socket.js b/lib/client/socket.js index cde35d27..a513fea1 100644 --- a/lib/client/socket.js +++ b/lib/client/socket.js @@ -19,7 +19,7 @@ var CloudCmd, Util, DOM, io; socket = io.connect(CloudCmd.HOST, { 'reconnect' : true, 'reconnection delay' : 500, - 'max reconnection attempts' : 1000000, + 'max reconnection attempts' : Math.pow(2, 64), 'reconnect_failed' : function() { Util.log('Could not reconnect. Reload page.'); }