From 90b33370f3ecfac893e99a9690e7c114d37b946a Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 8 Oct 2013 15:20:04 +0000 Subject: [PATCH] fix(socket) max reconnection attempts: Math.pow(2, 64) -> Math.pow(2, 32) --- 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 a513fea1..f3ac82fe 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' : Math.pow(2, 64), + 'max reconnection attempts' : Math.pow(2, 32), 'reconnect_failed' : function() { Util.log('Could not reconnect. Reload page.'); }