1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

reduce polling interval

This commit is contained in:
Luke Pulverenti 2015-11-12 13:05:51 -05:00
parent 2a43ab83db
commit cdfdfde8f3
3 changed files with 3 additions and 3 deletions

View file

@ -220,7 +220,7 @@
clearInterval(pollInterval); clearInterval(pollInterval);
pollInterval = null; pollInterval = null;
} }
pollInterval = setInterval(onPollIntervalFired, 1500); pollInterval = setInterval(onPollIntervalFired, 5000);
}; };
function unsubscribeFromPlayerUpdates() { function unsubscribeFromPlayerUpdates() {

View file

@ -211,7 +211,7 @@
if (pollInterval) { if (pollInterval) {
clearInterval(pollInterval); clearInterval(pollInterval);
} }
pollInterval = setInterval(onPollIntervalFired, 1500); pollInterval = setInterval(onPollIntervalFired, 5000);
} }
function stopInterval() { function stopInterval() {

View file

@ -132,7 +132,7 @@ $.fn.taskButton = function (options) {
if (pollInterval) { if (pollInterval) {
clearInterval(pollInterval); clearInterval(pollInterval);
} }
pollInterval = setInterval(onPollIntervalFired, 1500); pollInterval = setInterval(onPollIntervalFired, 5000);
} }
function stopInterval() { function stopInterval() {