mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
shorter delay between git pulls
This commit is contained in:
parent
29da31968a
commit
cb98e24dd4
2
git-pull
2
git-pull
@ -3,4 +3,4 @@
|
|||||||
git pull || exit $?
|
git pull || exit $?
|
||||||
git submodule foreach 'git checkout master || git checkout main' || exit $?
|
git submodule foreach 'git checkout master || git checkout main' || exit $?
|
||||||
# Sleep after each `git pull` to avoid `429 too many requests`.
|
# Sleep after each `git pull` to avoid `429 too many requests`.
|
||||||
git submodule foreach 'sleep 0.15s; if git pull | grep '\''^Updating'\''; then printf " %s" "$(basename $sm_path)" >> $toplevel/build-pkg/pkglist.tmp; fi'
|
git submodule foreach 'sleep 0.1s; if git pull | grep '\''^Updating'\''; then printf " %s" "$(basename $sm_path)" >> $toplevel/build-pkg/pkglist.tmp; fi'
|
||||||
|
Loading…
Reference in New Issue
Block a user