diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-10-02 10:03:43 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-10-02 10:03:43 +0000 |
commit | 86f63627b66a8ef73f079eda30db2d87772da9b6 (patch) | |
tree | 0d2232eb13aa5d9d58f688f91b0be9641c870614 /modules | |
parent | d47f6e00868ae987c160b5d5e0fa465c11a6ca5b (diff) |
modules/freifunk: fix interval value after XHR.poll() change
Diffstat (limited to 'modules')
-rw-r--r-- | modules/freifunk/luasrc/view/freifunk/public_status.htm | 6 |
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 |