mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
notification_recipients.processNotifications (wip)
This commit is contained in:
parent
6b043396ad
commit
9c87f83fa0
2 changed files with 24 additions and 13 deletions
|
|
@ -36,7 +36,10 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function syslog.dequeueAlerts(queue)
|
||||
function syslog.dequeueAlerts(queue, budget)
|
||||
|
||||
-- TODO handle budget (pay attention to severity/priority)
|
||||
|
||||
local notifications = ntop.lrangeCache(queue, 0, -1)
|
||||
|
||||
if not notifications then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue