From 077dbe3c0820109a58dd7a3966c831f722a13cea Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 12 Dec 2015 20:53:34 +0100 Subject: [PATCH] gluon-status-page-api: decrease dyn/statistics event frequency The statistics data is now cached for 5s, no need to send an event every second. The new interval is 3s, which is coprime with the cache timeout. --- .../files/lib/gluon/status-page/www/cgi-bin/dyn/statistics | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gluon-status-page-api/files/lib/gluon/status-page/www/cgi-bin/dyn/statistics b/package/gluon-status-page-api/files/lib/gluon/status-page/www/cgi-bin/dyn/statistics index f93a10b4..637c8bc6 100755 --- a/package/gluon-status-page-api/files/lib/gluon/status-page/www/cgi-bin/dyn/statistics +++ b/package/gluon-status-page-api/files/lib/gluon/status-page/www/cgi-bin/dyn/statistics @@ -2,4 +2,4 @@ echo "Access-Control-Allow-Origin: *" -exec gluon-neighbour-info -s "" -l -d ::1 -p 1001 -t 1 -r statistics +exec gluon-neighbour-info -s "" -l -d ::1 -p 1001 -t 3 -r statistics