shorter delay between git pulls

This commit is contained in:
Daniel Langbein 2022-05-25 22:12:58 +02:00
parent 51aef88456
commit b3ec5690df

View File

@ -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'