From 90bd520a036fac63d3fc5e22ebd3abbc551ca469 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Sun, 18 Oct 2020 23:07:57 +0200 Subject: [PATCH] less minimum refresh --- html/script.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/html/script.js b/html/script.js index 1f9fa44..9e69ba6 100644 --- a/html/script.js +++ b/html/script.js @@ -3928,20 +3928,20 @@ function refreshInt() { if (!globeIndex) return refresh; - if (adsbexchange && refresh < 2500) - refresh = 2500; + if (adsbexchange && refresh < 1500) + refresh = 1500; inactiveUpdate(); - if (inactive < 100) - inactive = 100; + if (inactive < 80) + inactive = 80; if (inactive > 400) inactive = 400; if (document[hidden]) refresh = 24 * 3600 * 1000; // hidden tab, don't refresh to avoid freeze when the tab is switched to again. else - refresh *= inactive / 100; + refresh *= inactive / 80; if (!mapIsVisible) refresh *= 2;