summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_rrd_graph.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-13 21:02:02 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-13 21:02:02 +0000
commit3bc6635dabb0e9e2f680793c7de04db4d1a87eca (patch)
tree4b6e965d621aa145a45549059c2f8457f91591b4 /usr/local/www/status_rrd_graph.php
parente15abfedcb65fae481b882f9b404ef607a119459 (diff)
downloadpfsense-3bc6635dabb0e9e2f680793c7de04db4d1a87eca.zip
pfsense-3bc6635dabb0e9e2f680793c7de04db4d1a87eca.tar.gz
MFC remove debugging code
Diffstat (limited to 'usr/local/www/status_rrd_graph.php')
-rwxr-xr-xusr/local/www/status_rrd_graph.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/status_rrd_graph.php b/usr/local/www/status_rrd_graph.php
index 62817c0..948eb03 100755
--- a/usr/local/www/status_rrd_graph.php
+++ b/usr/local/www/status_rrd_graph.php
@@ -350,12 +350,12 @@ else
/* check modification time to see if we need to generate image */
if (file_exists("$rrddbpath$curif-$interval-$curgraph.png")) {
- if((time() - filemtime("$rrddbpath$curif-$interval-$curgraph.png")) >= 60 ) {
- system("$graphcmd 2>&1");
+ if((time() - filemtime("$rrddbpath$curif-$interval-$curgraph.png")) >= 280 ) {
+ system("$graphcmd >/dev/null");
usleep(500);
}
} else {
- system("$graphcmd 2>&1");
+ system("$graphcmd >/dev/null");
usleep(500);
}
OpenPOWER on IntegriCloud