summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/widgets
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-08-18 19:38:00 -0400
committerStephen Beaver <sbeaver@netgate.com>2016-08-18 19:38:56 -0400
commit6d203ffc8a63b0969a8758861fd2a76b88fd1f62 (patch)
tree3ba1bd16354c3dfa460ba98da5ae81d40cbf75b5 /src/usr/local/www/widgets
parentc1f9ca7a73c562145f777b850bf3f4000f938c14 (diff)
downloadpfsense-6d203ffc8a63b0969a8758861fd2a76b88fd1f62.zip
pfsense-6d203ffc8a63b0969a8758861fd2a76b88fd1f62.tar.gz
Revise widget refresh timing
(cherry picked from commit 134ee13df54280441c25b047b406628eeebbb8db)
Diffstat (limited to 'src/usr/local/www/widgets')
-rw-r--r--src/usr/local/www/widgets/widgets/ntp_status.widget.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/widgets/widgets/ntp_status.widget.php b/src/usr/local/www/widgets/widgets/ntp_status.widget.php
index 1bc9279..152fe67 100644
--- a/src/usr/local/www/widgets/widgets/ntp_status.widget.php
+++ b/src/usr/local/www/widgets/widgets/ntp_status.widget.php
@@ -73,7 +73,7 @@ function clockTimeString($inDate, $showSeconds) {
// For this widget the update period is 6 x larger than most others. It typically defaults
// to once per 60 seconds, not once per 10 seconds
-$widgetperiod = isset($config['widgets']['period']) ? $config['widgets']['period'] * 1000 : 10000;
+$widgetperiod = isset($config['widgets']['period']) ? $config['widgets']['period'] * 1000 * 6 : 60000;
if ($_REQUEST['updateme']) {
//this block displays only on ajax refresh
OpenPOWER on IntegriCloud