mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Removed useless imports in lua code upping the memory usage
This commit is contained in:
parent
2f76c9bf4b
commit
dbf4bf2a2b
53 changed files with 2981 additions and 3255 deletions
|
|
@ -6,7 +6,7 @@
|
|||
-- periodics checks and callbacks.
|
||||
--
|
||||
|
||||
scripts_triggers = {}
|
||||
local scripts_triggers = {}
|
||||
|
||||
local clock_start = os.clock()
|
||||
|
||||
|
|
@ -108,8 +108,4 @@ end
|
|||
|
||||
-- ###########################################
|
||||
|
||||
if(trace_script_duration ~= nil) then
|
||||
io.write(debug.getinfo(1,'S').source .." executed in ".. (os.clock()-clock_start)*1000 .. " ms\n")
|
||||
end
|
||||
|
||||
return scripts_triggers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue