From 753d09a802d7c8dccfb5c94d043bb9c757de809e Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Fri, 27 May 2022 18:11:47 +0200 Subject: [PATCH] shorter delay between git pulls --- git-pull | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-pull b/git-pull index dee5dd5..806677d 100755 --- a/git-pull +++ b/git-pull @@ -3,4 +3,4 @@ git pull || exit $? git submodule foreach 'git checkout master || git checkout main' || exit $? # Sleep after each `git pull` to avoid `429 too many requests`. -git submodule foreach 'sleep 2s; if git pull | grep '\''^Updating'\''; then printf " %s" "$(basename $sm_path)" >> $toplevel/build-pkg/pkglist.tmp; fi' +git submodule foreach 'sleep 1s; if git pull | grep '\''^Updating'\''; then printf " %s" "$(basename $sm_path)" >> $toplevel/build-pkg/pkglist.tmp; fi'