From 1e010b1a0b00b1ac62711e4e68b52830019ef5f3 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 18 Jan 2023 12:04:06 +0100 Subject: [dnbd3] Extend timeout for inactive graph --- modules-available/dnbd3/templates/page-serverlist.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules-available/dnbd3/templates/page-serverlist.html') 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; -- cgit v1.2.3-55-g7522