summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBernhard Tittelbach <bernhard@tittelbach.org>2014-10-25 17:50:40 +0200
committerBernhard Tittelbach <bernhard@tittelbach.org>2014-10-25 17:50:40 +0200
commit0b77df3200a2fbedba01508dbdb14db5c0e850d2 (patch)
tree92de97714a334ce3cd6ff9f6f99b0865ef2a236d /src
parentfrom (diff)
use soon to be feature limit
Diffstat (limited to 'src')
-rw-r--r--src/viz/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/viz/index.js b/src/viz/index.js
index 869d6e0..907e1bf 100644
--- a/src/viz/index.js
+++ b/src/viz/index.js
@@ -1,9 +1,9 @@
var qintv_ms = 5000;
var uripart = "/updates?";
//var lastfrom = "";
-var lastfrom = "from="+(new Date(Date.now() - 10*60*1000)).toISOString();
-//var lastfrom="from=2013-10-24T06:30:45Z&to=2013-10-24T06:32:45";
-console.log(lastfrom);
+//var lastfrom = "from="+(new Date(Date.now() - 10*60*1000)).toISOString();
+var lastfrom="?limit=120";
+//console.log(lastfrom);
//var possible_display_functions = {"Off":"none", "Value":showvalue, "Gauge":showgauge, "Graph":showasgraph};
var possible_display_functions = {"Off":"none", "Value":showvalue, "Graph":showasgraph};
var stuff_to_display = {"clients":"none","*":showvalue,"client-count":showasgraph, "bytes-sent":showasgraph};