From b3ec5690df1507416135b8dfb12536b102e6d23a Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Wed, 25 May 2022 22:12:58 +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 b8f243a..dee5dd5 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 3s; if git pull | grep '\''^Updating'\''; then printf " %s" "$(basename $sm_path)" >> $toplevel/build-pkg/pkglist.tmp; fi' +git submodule foreach 'sleep 2s; if git pull | grep '\''^Updating'\''; then printf " %s" "$(basename $sm_path)" >> $toplevel/build-pkg/pkglist.tmp; fi'