From 8a5237960992032a15271383e77fd02fda1f5817 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Thu, 4 Aug 2022 20:29:57 -0600 Subject: [PATCH] test sleep time in until update --- functions/update_apps.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/update_apps.sh b/functions/update_apps.sh index afaf1bd6..f6e57e48 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -29,6 +29,7 @@ do until [[ "$proc_count" -ge "$update_limit" || $it -ge ${#array[@]} ]] do update_apps "${array[$it]}" & + sleep 0.5 processes+=($!) ((it++)) ((proc_count++))