Remove autorelease logic based on periodicity and update database schema

This commit is contained in:
emanuele-f 2019-07-12 12:45:02 +02:00
parent 85f4266f14
commit 5e0b8b496e
10 changed files with 44 additions and 129 deletions

View file

@ -36,8 +36,8 @@ function checkNetworkAlerts(granularity)
end
local network_config = config_alerts[network_key]
local global_config = config_alerts["local_networks"]
local has_configured_alerts = (table.len(network_config or global_config or {}) > 0)
local global_config = config_alerts["local_networks"] or {}
local has_configured_alerts = (table.len(network_config or global_config) > 0)
if(has_configured_alerts) then
for _, check in pairs(available_modules) do