summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-10-02 10:03:43 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-10-02 10:03:43 +0000
commit86f63627b66a8ef73f079eda30db2d87772da9b6 (patch)
tree0d2232eb13aa5d9d58f688f91b0be9641c870614
parentd47f6e00868ae987c160b5d5e0fa465c11a6ca5b (diff)
modules/freifunk: fix interval value after XHR.poll() change
-rw-r--r--modules/freifunk/luasrc/view/freifunk/public_status.htm6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/freifunk/luasrc/view/freifunk/public_status.htm b/modules/freifunk/luasrc/view/freifunk/public_status.htm
index 633613e55..9cb185688 100644
--- a/modules/freifunk/luasrc/view/freifunk/public_status.htm
+++ b/modules/freifunk/luasrc/view/freifunk/public_status.htm
@@ -25,11 +25,9 @@ local mem = string.format(
-- update interval
local bogomips = bogomips or 100
-local interval
+local interval = 10
if bogomips > 350 then
- interval = "5000"
-else
- interval = "10000"
+ interval = 5
end
-- wireless