slightly lower commander sleep timer

This commit is contained in:
Heavybullets8 2022-08-10 11:53:24 -06:00
parent 591120e2fe
commit fcd07cfa4f

View File

@ -28,7 +28,7 @@ do
((count++)) ((count++))
done done
if [[ "$proc_count" -ge "$update_limit" ]]; then if [[ "$proc_count" -ge "$update_limit" ]]; then
sleep 6 sleep 4
elif [[ $it -lt ${#array[@]} ]]; then elif [[ $it -lt ${#array[@]} ]]; then
until [[ "$proc_count" -ge "$update_limit" || $it -ge ${#array[@]} ]] until [[ "$proc_count" -ge "$update_limit" || $it -ge ${#array[@]} ]]
do do
@ -39,7 +39,7 @@ do
((proc_count++)) ((proc_count++))
done done
elif [[ $proc_count != 0 ]]; then # Wait for all processes to finish elif [[ $proc_count != 0 ]]; then # Wait for all processes to finish
sleep 6 sleep 4
else # All processes must be completed, break out of loop else # All processes must be completed, break out of loop
break break
fi fi