modules/freifunk: fix interval value after XHR.poll() change
This commit is contained in:
parent
d47f6e0086
commit
86f63627b6
1 changed files with 2 additions and 4 deletions
|
@ -25,11 +25,9 @@ local mem = string.format(
|
||||||
|
|
||||||
-- update interval
|
-- update interval
|
||||||
local bogomips = bogomips or 100
|
local bogomips = bogomips or 100
|
||||||
local interval
|
local interval = 10
|
||||||
if bogomips > 350 then
|
if bogomips > 350 then
|
||||||
interval = "5000"
|
interval = 5
|
||||||
else
|
|
||||||
interval = "10000"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
-- wireless
|
-- wireless
|
||||||
|
|
Loading…
Reference in a new issue