Randomize reload time

This commit is contained in:
Lennart kats 2015-09-10 14:18:51 +00:00
parent 4728c8e243
commit b7ad4e83bc

View File

@ -253,7 +253,7 @@ define(function(require, exports, module) {
lastError = showError(err.message + ". Please reload this window.", -1);
setTimeout(function() {
window.location.reload();
}, 5 * 60 * 1000);
}, (Math.random() * 8) + 2 * 60 * 1000);
break;
default:
lastError = showError(err, -1);