mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
sleep when git commit failed.
This commit is contained in:
parent
ff73088091
commit
e76c53dae8
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ function sync_push()
|
||||||
git push $*
|
git push $*
|
||||||
ret=$?; if [[ 0 -ne $ret ]]; then
|
ret=$?; if [[ 0 -ne $ret ]]; then
|
||||||
failed_msg "Retry for failed: $*"
|
failed_msg "Retry for failed: $*"
|
||||||
|
sleep 3
|
||||||
continue
|
continue
|
||||||
else
|
else
|
||||||
ok_msg "Success: $*"
|
ok_msg "Success: $*"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue