mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 17:00:10 +00:00
Supports flow_db_utils to handle both nIndex and Clickhouse
This commit is contained in:
parent
d141115b96
commit
13701fdc2c
4 changed files with 9 additions and 9 deletions
|
|
@ -14,8 +14,8 @@ sendHTTPContentTypeHeader('text/html')
|
|||
page_utils.print_header(i18n("about.about_x", { product=info.product }))
|
||||
|
||||
if ntop.isEnterpriseM() and hasNindexSupport() then
|
||||
local nindex_utils = require "nindex_utils"
|
||||
nindex_utils.deleteOldFLows(true --[[ verbose ]])
|
||||
local flow_db_utils = require "flow_db_utils"
|
||||
flow_db_utils.deleteOldFLows(true --[[ verbose ]])
|
||||
else
|
||||
print("nIndex delete unsupported")
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue