mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fix #8589
This commit is contained in:
parent
8220a92177
commit
a4d28d59f2
6 changed files with 33 additions and 61 deletions
|
|
@ -138,6 +138,7 @@ function shell.dequeueRecipientAlerts(recipient, budget)
|
|||
local budget_used = 0
|
||||
local MAX_ALERTS_PER_REQUEST = 1
|
||||
local return_msg = {}
|
||||
|
||||
-- Dequeue alerts up to budget x MAX_ALERTS_PER_REQUEST
|
||||
-- Note: in this case budget is the number of script messages to send
|
||||
while budget_used <= budget and more_available do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue