Too many false positive with the timeout detection
This commit is contained in:
parent
412670c8a6
commit
f04ba4a3d8
@ -1054,11 +1054,13 @@ define([
|
|||||||
|
|
||||||
var timeout = false;
|
var timeout = false;
|
||||||
var onTimeout = function () {
|
var onTimeout = function () {
|
||||||
// XXX
|
return;
|
||||||
|
/*
|
||||||
timeout = true;
|
timeout = true;
|
||||||
common.onNetworkDisconnect.fire();
|
common.onNetworkDisconnect.fire();
|
||||||
// FIXME: no UI in outer...
|
// FIXME: no UI in outer...
|
||||||
window.alert("Timeout error, please reload this tab");
|
window.alert("Timeout error, please reload this tab");
|
||||||
|
*/
|
||||||
};
|
};
|
||||||
|
|
||||||
var queries = {
|
var queries = {
|
||||||
|
|||||||
@ -1593,6 +1593,7 @@ define([
|
|||||||
broadcast([], 'NETWORK_RECONNECT', {myId: info.myId});
|
broadcast([], 'NETWORK_RECONNECT', {myId: info.myId});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/*
|
||||||
// Ping clients regularly to make sure one tab was not closed without sending a removeClient()
|
// 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.
|
// command. This allow us to avoid phantom viewers in pads.
|
||||||
var PING_INTERVAL = 30000;
|
var PING_INTERVAL = 30000;
|
||||||
@ -1625,7 +1626,7 @@ define([
|
|||||||
ping();
|
ping();
|
||||||
});
|
});
|
||||||
}, PING_INTERVAL);
|
}, PING_INTERVAL);
|
||||||
|
*/
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user