mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 09:24:51 +00:00
feature(socket) max reconnection attempts: 1000000 -> Math.pow(2, 64)
This commit is contained in:
parent
3604afe2e7
commit
3997a96f26
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' : 1000000,
|
||||
'max reconnection attempts' : Math.pow(2, 64),
|
||||
'reconnect_failed' : function() {
|
||||
Util.log('Could not reconnect. Reload page.');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue