sleep back down to 3

This commit is contained in:
Heavybullets8 2022-08-13 15:41:50 -06:00
parent e82fa5f8c2
commit 80374b5ea9

View File

@ -39,7 +39,7 @@ do
((count++)) ((count++))
done done
if [[ "$proc_count" -ge "$update_limit" ]]; then if [[ "$proc_count" -ge "$update_limit" ]]; then
sleep 5 sleep 3
elif [[ $it -lt ${#array[@]} ]]; then elif [[ $it -lt ${#array[@]} ]]; then
# loop=0 # loop=0
# until [[ $loop -ge 2 || $it -ge ${#array[@]} ]]; # until [[ $loop -ge 2 || $it -ge ${#array[@]} ]];
@ -50,7 +50,7 @@ do
# ((loop++)) # ((loop++))
# 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 5 sleep 3
else # All processes must be completed, break out of loop else # All processes must be completed, break out of loop
break break
fi fi