From: Jo-Philipp Wich Date: Sun, 2 Oct 2011 10:03:43 +0000 (+0000) Subject: modules/freifunk: fix interval value after XHR.poll() change X-Git-Tag: 0.11.0~1665 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=86f63627b66a8ef73f079eda30db2d87772da9b6 modules/freifunk: fix interval value after XHR.poll() change --- 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