Caps du -s execution using a timeout to prevent long activities

This commit is contained in:
Simone Mainardi 2020-02-26 16:22:22 +01:00
parent 23f08f31ed
commit fee595eabf
5 changed files with 39 additions and 15 deletions

View file

@ -30,7 +30,7 @@ local script = {
-- Defines an hook which is executed every hour
function script.hooks.hour(params)
local info = storage_utils.storageInfo(true --[[ refresh cache ]])
local info = storage_utils.storageInfo(true --[[ refresh cache ]], 120 --[[ Allow a couple of minutes --]])
-- TODO alert if free disk space is too low
end