mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(socket) connect: rm reconnect, reconnect delay
This commit is contained in:
parent
c1e771b618
commit
a00a881259
1 changed files with 0 additions and 2 deletions
|
|
@ -17,8 +17,6 @@ var CloudCmd, Util, DOM, io;
|
|||
|
||||
function connect() {
|
||||
socket = io.connect(CloudCmd.HOST, {
|
||||
'reconnect' : true,
|
||||
'reconnection delay' : 500,
|
||||
'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