mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Disk space reclaim and defrag of alerts db
This commit is contained in:
parent
9d071c44c9
commit
f8443ff03d
7 changed files with 66 additions and 4 deletions
|
|
@ -1461,6 +1461,16 @@ end
|
|||
|
||||
-- #################################
|
||||
|
||||
function optimizeAlerts()
|
||||
if(not areAlertsEnabled()) then
|
||||
return
|
||||
end
|
||||
|
||||
interface.optimizeAlerts()
|
||||
end
|
||||
|
||||
-- #################################
|
||||
|
||||
function housekeepingAlertsMakeRoom(ifId)
|
||||
local prefs = ntop.getPrefs()
|
||||
local max_num_alerts_per_entity = prefs.max_num_alerts_per_entity
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue