modules/freifunk: fix interval value after XHR.poll() change
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 2 Oct 2011 10:03:43 +0000 (10:03 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 2 Oct 2011 10:03:43 +0000 (10:03 +0000)
modules/freifunk/luasrc/view/freifunk/public_status.htm

index 633613e..9cb1856 100644 (file)
@@ -25,11 +25,9 @@ local mem = string.format(
 
 -- update interval
 local bogomips = bogomips or 100
 
 -- update interval
 local bogomips = bogomips or 100
-local interval
+local interval = 10
 if bogomips > 350 then
 if bogomips > 350 then
-       interval = "5000"
-else
-       interval = "10000"
+       interval = 5
 end
 
 -- wireless
 end
 
 -- wireless