Revert SABnzbd poll throttling — keep the header figure live everywhere
All checks were successful
Deploy / deploy (push) Successful in 22s

User wants live-updating, not slower polling off System/Activity.
Back to a flat 5s interval on every page.
This commit is contained in:
Barely Removable 2026-08-30 09:18:26 -07:00
parent 8500fba745
commit 15936027de

View file

@ -199,11 +199,8 @@
.catch(function () { /* as above */ }); .catch(function () { /* as above */ });
} }
/* Second-accurate only where the page shows the full figures
(System, Activity); everywhere else it's a header glance at a
number that's idle most of the time, so it can poll slower. */
pollSab(); pollSab();
setInterval(pollSab, document.getElementById('sab-queue') ? 5000 : 20000); setInterval(pollSab, 5000);
if (document.getElementById('tt-streams')) { if (document.getElementById('tt-streams')) {
pollTautulli(); pollTautulli();
setInterval(pollTautulli, 15000); setInterval(pollTautulli, 15000);