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.'); }