Revert SABnzbd poll throttling — keep the header figure live everywhere
All checks were successful
Deploy / deploy (push) Successful in 22s
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:
parent
8500fba745
commit
15936027de
1 changed files with 1 additions and 4 deletions
|
|
@ -199,11 +199,8 @@
|
|||
.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();
|
||||
setInterval(pollSab, document.getElementById('sab-queue') ? 5000 : 20000);
|
||||
setInterval(pollSab, 5000);
|
||||
if (document.getElementById('tt-streams')) {
|
||||
pollTautulli();
|
||||
setInterval(pollTautulli, 15000);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue