Removed useless imports in lua code upping the memory usage

This commit is contained in:
Matteo Biscosi 2024-02-15 15:21:30 +00:00
parent 2f76c9bf4b
commit dbf4bf2a2b
53 changed files with 2981 additions and 3255 deletions

View file

@ -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()