kopia lustrzana https://github.com/c9/core
Randomize reload time
rodzic
4728c8e243
commit
b7ad4e83bc
|
@ -253,7 +253,7 @@ define(function(require, exports, module) {
|
||||||
lastError = showError(err.message + ". Please reload this window.", -1);
|
lastError = showError(err.message + ". Please reload this window.", -1);
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
}, 5 * 60 * 1000);
|
}, (Math.random() * 8) + 2 * 60 * 1000);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
lastError = showError(err, -1);
|
lastError = showError(err, -1);
|
||||||
|
|
Ładowanie…
Reference in New Issue