mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
parent
2f71f7d5ef
commit
3b4b5078fe
3 changed files with 41 additions and 4 deletions
|
|
@ -31,8 +31,10 @@ end
|
|||
|
||||
-- ###########################################
|
||||
|
||||
function scripts_triggers.isDumbFlowToSQLEnabled(ifstats)
|
||||
if (ntop.getPrefs()["is_dump_flows_to_mysql_enabled"] and not ifstats.isViewed) then
|
||||
function scripts_triggers.isDumpFlowToSQLEnabled(ifstats)
|
||||
local prefs = ntop.getPrefs()
|
||||
|
||||
if prefs["is_dump_flows_to_mysql_enabled"] or prefs["is_dump_flows_to_clickhouse_enabled"] then
|
||||
return true
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue