mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Rework top-talkers to improve performance and clean code
This commit is contained in:
parent
4a9c17c8dd
commit
6635d1a716
24 changed files with 124 additions and 2177 deletions
|
|
@ -1,7 +1,6 @@
|
|||
-- ########################################################
|
||||
|
||||
require "lua_utils"
|
||||
require "top_structure"
|
||||
require "alert_utils"
|
||||
require "graph_utils"
|
||||
local rrd_utils = require "rrd_utils"
|
||||
|
|
@ -79,8 +78,6 @@ end
|
|||
|
||||
function dumpTopTalkers(_ifname, ifstats, verbose)
|
||||
-- Dump topTalkers every minute
|
||||
-- local talkers = makeTopJSON(ifstats.id, _ifname) -- TODO: trash this method and all its calls
|
||||
|
||||
local talkers = top_talkers_utils.makeTopJson(_ifname)
|
||||
|
||||
if(verbose) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue