fix(socket) max reconnection attempts: Math.pow(2, 64) -> Math.pow(2, 32)

This commit is contained in:
coderaiser 2013-10-08 15:20:04 +00:00
parent 6b8bffebdf
commit 90b33370f3

View file

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