mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Recipient budget is no longer staticly assigned but a portion of the total budget
equally shared among the configured recipients with a cap of 1000
This commit is contained in:
parent
e1158fb855
commit
48641b2e81
2 changed files with 7 additions and 2 deletions
|
|
@ -132,8 +132,8 @@ end
|
|||
-- Dequeue alerts from a recipient queue for sending notifications
|
||||
function syslog.dequeueRecipientAlerts(recipient, budget, high_priority)
|
||||
local settings = readSettings(recipient)
|
||||
|
||||
local notifications = {}
|
||||
|
||||
for i = 1, budget do
|
||||
local notification = ntop.recipient_dequeue(recipient.recipient_id, high_priority)
|
||||
if notification then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue