Allow setting MIN_WAIT and MAX_WAIT on the fly

This commit is contained in:
deajan 2018-10-10 15:19:32 +02:00
parent 0e103cd98b
commit 4be8429b96
1 changed files with 6 additions and 2 deletions

View File

@ -2831,8 +2831,12 @@ _NOLOCKS=false
osync_cmd=$0
_SUMMARY=false
INITIALIZE="no"
if [ "$MIN_WAIT" == "" ]; then
MIN_WAIT=60
fi
if [ "$MAX_WAIT" == "" ]; then
MAX_WAIT=7200
fi
function GetCommandlineArguments {
local isFirstArgument=true