Fixes various lua memory issues

This commit is contained in:
Matteo Biscosi 2024-02-22 11:21:38 +00:00
parent eb52f62b1e
commit 5edfdeedcd
53 changed files with 336 additions and 551 deletions

View file

@ -293,7 +293,7 @@ function rrd_utils.storageInfo(ifid, timeout)
for _, path in pairs(paths) do
local absolute_path = os_utils.fixPath(dirs.workingdir .. "/" .. ifid .. "/".. path .."/")
info[path] = getFolderSize(absolute_path, timeout, os_utils)
info[path] = getFolderSize(absolute_path, timeout)
info["total"] = info["total"] + info[path]
end