diff --git a/files/usr/local/bin/mgr/aredn_message.lua b/files/usr/local/bin/mgr/aredn_message.lua index 3bd3eba6..938e2c37 100755 --- a/files/usr/local/bin/mgr/aredn_message.lua +++ b/files/usr/local/bin/mgr/aredn_message.lua @@ -40,7 +40,7 @@ function aredn_message() local pollrate = uci.cursor():get("aredn", "@alerts[0]", "pollrate") pollrate = tonumber(pollrate) if not pollrate or pollrate <= 0 then - pollrate = 12 -- 12 hour default + pollrate = 1 -- 1 hour default end wait_for_ticks(pollrate * 60 * 60) end diff --git a/files/www/cgi-bin/advancedconfig b/files/www/cgi-bin/advancedconfig index 63eaf290..4040a1fd 100755 --- a/files/www/cgi-bin/advancedconfig +++ b/files/www/cgi-bin/advancedconfig @@ -444,7 +444,7 @@ local settings = { key = "aredn.@alerts[0].pollrate", type = "string", desc = "Alert Message Pollrate - how many hours to wait between polling for new AREDN Alerts

aredn.@alerts[0].pollrate", - default = "12", + default = "1", needreboot = true }, {