mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Implements flow lua callbacks in the periodic activities thread
This commit is contained in:
parent
11034a95d2
commit
968e21d984
14 changed files with 182 additions and 116 deletions
|
|
@ -210,11 +210,6 @@ function ts_dump.run_min_dump(_ifname, ifstats, iface_ts, config, when, verbose)
|
|||
dumpTopTalkers(_ifname, ifstats, verbose)
|
||||
scanAlerts("min", ifstats)
|
||||
|
||||
-- Run lua scripts on flows
|
||||
local tstart = ntop.gettimemsec()
|
||||
interface.checkFlowsLua()
|
||||
traceError(TRACE_INFO, TRACE_CONSOLE, string.format("flow.lua took %.2f seconds", (ntop.gettimemsec() - tstart)))
|
||||
|
||||
local iface_rrd_creation_enabled = (ntop.getPref("ntopng.prefs.ifid_"..ifstats.id..".interface_rrd_creation") ~= "false")
|
||||
and (ntop.getPref("ntopng.prefs.interface_rrd_creation") ~= "0")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue