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:
parent
2a43ab83db
commit
cdfdfde8f3
3 changed files with 3 additions and 3 deletions
|
@ -220,7 +220,7 @@
|
||||||
clearInterval(pollInterval);
|
clearInterval(pollInterval);
|
||||||
pollInterval = null;
|
pollInterval = null;
|
||||||
}
|
}
|
||||||
pollInterval = setInterval(onPollIntervalFired, 1500);
|
pollInterval = setInterval(onPollIntervalFired, 5000);
|
||||||
};
|
};
|
||||||
|
|
||||||
function unsubscribeFromPlayerUpdates() {
|
function unsubscribeFromPlayerUpdates() {
|
||||||
|
|
|
@ -211,7 +211,7 @@
|
||||||
if (pollInterval) {
|
if (pollInterval) {
|
||||||
clearInterval(pollInterval);
|
clearInterval(pollInterval);
|
||||||
}
|
}
|
||||||
pollInterval = setInterval(onPollIntervalFired, 1500);
|
pollInterval = setInterval(onPollIntervalFired, 5000);
|
||||||
}
|
}
|
||||||
|
|
||||||
function stopInterval() {
|
function stopInterval() {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue