mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 16:30:10 +00:00
Removed profiling print
This commit is contained in:
parent
92d9b101c2
commit
9f9beb0303
2 changed files with 3 additions and 12 deletions
|
|
@ -648,9 +648,9 @@ local function loadAndCheckScript(mod_fname, full_path, script, script_type, sub
|
|||
|
||||
traceError(TRACE_DEBUG, TRACE_CONSOLE, string.format("Loading user script '%s'", mod_fname))
|
||||
|
||||
profiling.get_current_memory(full_path .. "?1")
|
||||
--profiling.get_current_memory(full_path .. "?1")
|
||||
local check = dofile(full_path)
|
||||
profiling.get_current_memory(full_path .. "?2")
|
||||
--profiling.get_current_memory(full_path .. "?2")
|
||||
|
||||
if (type(check) ~= "table") then
|
||||
traceError(TRACE_ERROR, TRACE_CONSOLE, string.format("Loading '%s' failed", full_path))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue