mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 09:20:10 +00:00
Fixes hourly ASN retention not correctly used
This commit is contained in:
parent
bd41a01954
commit
e75451e823
3 changed files with 43 additions and 33 deletions
|
|
@ -2207,14 +2207,6 @@ if auth.has_capability(auth.capabilities.preferences) then
|
|||
min = 1,
|
||||
max = 365 * 10
|
||||
})
|
||||
|
||||
-- export flows for retention, only if ch and enterprise XL
|
||||
prefsToggleButton(subpage_active, {
|
||||
field = "toggle_data_archive_before_ttl_delete",
|
||||
default = "0",
|
||||
pref = "data_archive_before_ttl_delete",
|
||||
hidden = not showAggregateFlowsPrefs
|
||||
})
|
||||
prefsInputFieldPrefs(subpage_active.entries["aggregated_asn_data_retention"].title,
|
||||
subpage_active.entries["aggregated_asn_data_retention"].description, "ntopng.prefs.",
|
||||
"aggregated_asn_data_retention_days", data_retention_utils.getAggregatedAsnDataRetention(), "number",
|
||||
|
|
@ -2229,6 +2221,13 @@ if auth.has_capability(auth.capabilities.preferences) then
|
|||
min = 2,
|
||||
max = 365 * 10
|
||||
})
|
||||
-- export flows for retention, only if ch and enterprise XL
|
||||
prefsToggleButton(subpage_active, {
|
||||
field = "toggle_data_archive_before_ttl_delete",
|
||||
default = "0",
|
||||
pref = "data_archive_before_ttl_delete",
|
||||
hidden = not showAggregateFlowsPrefs
|
||||
})
|
||||
prefsInputFieldPrefs(subpage_active.entries["toggle_flow_aggregated_limit"].title,
|
||||
subpage_active.entries["toggle_flow_aggregated_limit"].description, "ntopng.prefs.",
|
||||
"max_aggregated_flows_upperbound", prefs.max_aggregated_flows_upperbound or 10000, "number",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue