Too many false positive with the timeout detection

pull/1/head
yflory 6 years ago
parent 412670c8a6
commit f04ba4a3d8

@ -1054,11 +1054,13 @@ define([
var timeout = false;
var onTimeout = function () {
// XXX
return;
/*
timeout = true;
common.onNetworkDisconnect.fire();
// FIXME: no UI in outer...
window.alert("Timeout error, please reload this tab");
*/
};
var queries = {

@ -1593,6 +1593,7 @@ define([
broadcast([], 'NETWORK_RECONNECT', {myId: info.myId});
});
/*
// Ping clients regularly to make sure one tab was not closed without sending a removeClient()
// command. This allow us to avoid phantom viewers in pads.
var PING_INTERVAL = 30000;
@ -1625,7 +1626,7 @@ define([
ping();
});
}, PING_INTERVAL);
*/
};
/**

Loading…
Cancel
Save