From 86f63627b66a8ef73f079eda30db2d87772da9b6 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 2 Oct 2011 10:03:43 +0000 Subject: [PATCH] modules/freifunk: fix interval value after XHR.poll() change --- modules/freifunk/luasrc/view/freifunk/public_status.htm | 6 ++---- 1 file 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 -- 2.25.1