mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Fixes missing os_utils modules
This commit is contained in:
parent
a4100b0cd9
commit
9487fd9711
1 changed files with 1 additions and 0 deletions
|
|
@ -1036,6 +1036,7 @@ end
|
|||
--! @param path the path to compute the size for
|
||||
--! @param timeout the maxium time to compute the size. If nil, it defaults to 15 seconds.
|
||||
function getFolderSize(path, timeout)
|
||||
local os_utils = require "os_utils"
|
||||
local folder_size_key = "ntopng.cache.folder_size"
|
||||
local now = os.time()
|
||||
local expiration = 30 -- sec
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue