mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Fixes influxdb retention not updated (#7096)
This commit is contained in:
parent
5ced7e3c93
commit
20107649e9
2 changed files with 13 additions and 4 deletions
|
|
@ -109,7 +109,10 @@ if auth.has_capability(auth.capabilities.preferences) then
|
|||
recording_utils.setLicense(_POST["n2disk_license"])
|
||||
end
|
||||
|
||||
if _POST["timeseries_driver"] or _POST["data_retention_days"] then
|
||||
if _POST["timeseries_driver"] or _POST["ts_and_stats_data_retention_days"] then
|
||||
if ntop.getPref("ntopng.prefs.timeseries_driver") == 'influxdb' then
|
||||
ntop.setCache("ntopng.influxdb.retention_changed", 1)
|
||||
end
|
||||
ts_utils.setupAgain()
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue