From cdfdfde8f367484a024721c76cb046f070f69da8 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 12 Nov 2015 13:05:51 -0500 Subject: [PATCH] reduce polling interval --- dashboard-ui/scripts/remotecontrol.js | 2 +- dashboard-ui/scripts/scheduledtaskspage.js | 2 +- dashboard-ui/scripts/taskbutton.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dashboard-ui/scripts/remotecontrol.js b/dashboard-ui/scripts/remotecontrol.js index a198c7a79d..432e31674e 100644 --- a/dashboard-ui/scripts/remotecontrol.js +++ b/dashboard-ui/scripts/remotecontrol.js @@ -220,7 +220,7 @@ clearInterval(pollInterval); pollInterval = null; } - pollInterval = setInterval(onPollIntervalFired, 1500); + pollInterval = setInterval(onPollIntervalFired, 5000); }; function unsubscribeFromPlayerUpdates() { diff --git a/dashboard-ui/scripts/scheduledtaskspage.js b/dashboard-ui/scripts/scheduledtaskspage.js index d177f12672..e32433af5f 100644 --- a/dashboard-ui/scripts/scheduledtaskspage.js +++ b/dashboard-ui/scripts/scheduledtaskspage.js @@ -211,7 +211,7 @@ if (pollInterval) { clearInterval(pollInterval); } - pollInterval = setInterval(onPollIntervalFired, 1500); + pollInterval = setInterval(onPollIntervalFired, 5000); } function stopInterval() { diff --git a/dashboard-ui/scripts/taskbutton.js b/dashboard-ui/scripts/taskbutton.js index 26ab8d09d1..a2920f276e 100644 --- a/dashboard-ui/scripts/taskbutton.js +++ b/dashboard-ui/scripts/taskbutton.js @@ -132,7 +132,7 @@ $.fn.taskButton = function (options) { if (pollInterval) { clearInterval(pollInterval); } - pollInterval = setInterval(onPollIntervalFired, 1500); + pollInterval = setInterval(onPollIntervalFired, 5000); } function stopInterval() {