Avoids unnecessary executions of flow user script external_alert_check.lua

Fixes #4080
This commit is contained in:
Simone Mainardi 2020-06-26 12:08:06 +02:00
parent 97efebb0ba
commit 9e5e63e28f
6 changed files with 31 additions and 1 deletions

View file

@ -12,6 +12,7 @@ local alert_consts = require("alert_consts")
local script = {
-- NOTE: hooks defined below
hooks = {},
external_alerts_only = true, -- Only execute for interfaces which have seen external alerts (either companion or syslog)
periodic_update_seconds = 30,
gui = {