Enable new alert API/configuration

This commit is contained in:
Alfredo Cardigliano 2020-07-28 10:29:03 +02:00
parent 9acf38efa9
commit 2c6987db3c
3 changed files with 24 additions and 105 deletions

View file

@ -2343,14 +2343,12 @@ function alert_utils.processAlertNotifications(now, periodic_frequency, force_ex
json_message = json.encode(message)
end
alert_endpoints.dispatchNotification(message, json_message)
-- notification_recipients.dispatchNotification(message, json_message)
notification_recipients.dispatchNotification(message, json_message)
::continue::
end
alert_endpoints.processNotifications(now, periodic_frequency)
-- notification_recipients.processNotifications(now, periodic_frequency)
notification_recipients.processNotifications(now, periodic_frequency)
end