mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Separated the two data retentions
This commit is contained in:
parent
c40be779d5
commit
6c9f571196
9 changed files with 40 additions and 17 deletions
|
|
@ -999,7 +999,7 @@ end
|
|||
function driver:deleteOldData(ifid)
|
||||
local paths = getRRDPaths()
|
||||
local dirs = ntop.getDirs()
|
||||
local retention_days = data_retention_utils.getDataRetentionDays()
|
||||
local retention_days = data_retention_utils.getTSAndStatsDataRetentionDays()
|
||||
|
||||
for _, path in pairs(paths) do
|
||||
local ifpath = os_utils.fixPath(dirs.workingdir .. "/" .. ifid .. "/".. path .."/")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue