mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Optimize disabled alerts bitmap redis access
This commit is contained in:
parent
3fb11d80c4
commit
a96a90b65f
4 changed files with 137 additions and 81 deletions
|
|
@ -34,7 +34,7 @@ local function getEntityAlertDisabledBitmap(entity, entity_val)
|
|||
return entities_bitmaps[entity][entity_val]
|
||||
end
|
||||
|
||||
local bitmap = alerts_api.getEntityAlertsDisabled(ifid, entity, entity_val)
|
||||
local bitmap = alerts_api.getEntityAlertsDisabledBitmap(ifid, entity, entity_val)
|
||||
entities_bitmaps[entity] = entities_bitmaps[entity] or {}
|
||||
entities_bitmaps[entity][entity_val] = bitmap
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue