mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Fix system interface timeseries cleanup
This commit is contained in:
parent
94f894454c
commit
a3e1744353
16 changed files with 70 additions and 27 deletions
|
|
@ -6,12 +6,12 @@ local rtt_utils = {}
|
|||
|
||||
-- ##############################################
|
||||
|
||||
local rtt_hosts_key = "ntopng.prefs.system_rtt_hosts"
|
||||
local rtt_hosts_key = string.format("ntopng.prefs.ifid_%d.system_rtt_hosts", getSystemInterfaceId())
|
||||
|
||||
-- ##############################################
|
||||
|
||||
local function rtt_last_updates_key(key)
|
||||
return("ntopng.cache.system_rtt_hosts.last_update." .. key)
|
||||
return(string.format("ntopng.cache.ifid_%d.system_rtt_hosts.last_update." .. key, getSystemInterfaceId()))
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue