From 067bbd04d7eb27bfa11a12e3c4386626caacb350 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Tue, 10 May 2016 10:42:57 +0200 Subject: [PATCH] (status_graph) change poll interval --- src/www/status_graph.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/www/status_graph.php b/src/www/status_graph.php index 67cf27f0f..571e0afb3 100644 --- a/src/www/status_graph.php +++ b/src/www/status_graph.php @@ -107,7 +107,7 @@ include("head.inc"); $( document ).ready(function() { function update_bandwidth_stats() { $.ajax("status_graph.php", {'type': 'get', 'cache': false, 'dataType': 'json', 'data': {'act': 'traffic'}}).done(function(data){ - traffic_widget_update($("[data-plugin=traffic]")[0], data, 360); + traffic_widget_update($("[data-plugin=traffic]")[0], data); }); $.ajax("legacy_traffic_stats.php", { type: 'get', @@ -131,7 +131,7 @@ include("head.inc"); $("#bandwidth_details").html(html.join('')); } }); - setTimeout(update_bandwidth_stats, 1000); + setTimeout(update_bandwidth_stats, 2000); } update_bandwidth_stats();