mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(socket) max reconnection attempts: Math.pow(2, 64) -> Math.pow(2, 32)
This commit is contained in:
parent
6b8bffebdf
commit
90b33370f3
1 changed files with 1 additions and 1 deletions
|
|
@ -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.');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue