summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2023-01-18 12:04:06 +0100
committerSimon Rettberg2023-01-18 12:04:06 +0100
commit1e010b1a0b00b1ac62711e4e68b52830019ef5f3 (patch)
treed694768b464867d9c2e41476e9f7759973e41249
parent[statistics] Remove debug message (diff)
downloadslx-admin-1e010b1a0b00b1ac62711e4e68b52830019ef5f3.tar.gz
slx-admin-1e010b1a0b00b1ac62711e4e68b52830019ef5f3.tar.xz
slx-admin-1e010b1a0b00b1ac62711e4e68b52830019ef5f3.zip
[dnbd3] Extend timeout for inactive graph
-rw-r--r--modules-available/dnbd3/templates/page-serverlist.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/dnbd3/templates/page-serverlist.html b/modules-available/dnbd3/templates/page-serverlist.html
index 8303a2b4..4ccf75ff 100644
--- a/modules-available/dnbd3/templates/page-serverlist.html
+++ b/modules-available/dnbd3/templates/page-serverlist.html
@@ -465,10 +465,10 @@ document.addEventListener('DOMContentLoaded', function () {
var inactiveCount = 0;
var updateSpeed = function() {
if (hiddenProp && document[hiddenProp]) {
- if (++inactiveCount > 30)
+ if (++inactiveCount > 300)
return;
} else {
- if (inactiveCount > 30) {
+ if (inactiveCount > 300) {
history.push(-1);
}
inactiveCount = 0;