mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +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
|
|
@ -5,15 +5,6 @@
|
|||
-- used to serialize ntopng runtime preferences to disk
|
||||
-- or restore them from disk
|
||||
|
||||
-- Hack to avoid include loops
|
||||
|
||||
if(pragma_once_prefs_dump_utils == true) then
|
||||
tprint(debug.traceback())
|
||||
-- avoid multiple inclusions
|
||||
return
|
||||
end
|
||||
|
||||
pragma_once_prefs_dump_utils = true
|
||||
|
||||
local dirs = ntop.getDirs()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue