mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Limit alerts insertions if the queues are full
This commit is contained in:
parent
3a0e4b13f7
commit
af1dc8a05e
2 changed files with 70 additions and 27 deletions
|
|
@ -14,7 +14,8 @@ if(ntop.isPro()) then
|
|||
end
|
||||
|
||||
-- NOTE: sqlite can handle about 10-50 alerts/sec
|
||||
alert_consts.MAX_NUM_QUEUED_ALERTS_PER_INTERFACE = 256
|
||||
alert_consts.MAX_NUM_QUEUED_ALERTS_PER_INTERFACE = 512
|
||||
alert_consts.MAX_NUM_QUEUED_ALERTS_NOTIFICATIONS = 1024
|
||||
alert_consts.MAX_NUM_QUEUED_ALERTS_PER_MODULE = 1024 -- should match ALERTS_MANAGER_MAX_ENTITY_ALERTS
|
||||
|
||||
-- Alerts (see ntop_typedefs.h)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue