mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Prevents alerts starvation in the emails queue
This commit is contained in:
parent
23c45f3f4a
commit
dbb05fe6b6
2 changed files with 5 additions and 3 deletions
|
|
@ -2709,7 +2709,7 @@ function processAlertNotifications(now, periodic_frequency, force_export)
|
|||
-- dispatch
|
||||
for _, m in ipairs(modules) do
|
||||
if message.severity >= alertSeverity(m.severity) then
|
||||
ntop.rpushCache(m.export_queue, json_message, MAX_NUM_PER_MODULE_QUEUED_ALERTS)
|
||||
ntop.rpushCache(m.export_queue, json_message, MAX_NUM_PER_MODULE_QUEUED_ALERTS)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue