mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Add toast to warn about deprecated nindex support. Cleanup code.
This commit is contained in:
parent
67d8459961
commit
cc6014a220
17 changed files with 91 additions and 97 deletions
|
|
@ -9,7 +9,7 @@ local have_nedge = ntop.isnEdge()
|
|||
local is_windows = ntop.isWindows()
|
||||
local info = ntop.getInfo(false)
|
||||
local hasRadius = ntop.hasRadiusSupport()
|
||||
local hasNindex = hasNindexSupport()
|
||||
local hasClickHouse = hasClickHouseSupport()
|
||||
local hasLdap = ntop.hasLdapSupport()
|
||||
local max_nindex_retention = 0
|
||||
local flow_db_utils = nil
|
||||
|
|
@ -17,7 +17,7 @@ local flow_db_utils = nil
|
|||
if ntop.isPro() then
|
||||
package.path = dirs.installdir .. "/scripts/lua/pro/modules/?.lua;" .. package.path
|
||||
|
||||
if hasNindexSupport() then
|
||||
if hasClickHouse then
|
||||
flow_db_utils = require("flow_db_utils")
|
||||
_, max_nindex_retention = flow_db_utils.getRetention()
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue