1
0
Fork 0

Merge changes I32da12c2,Ie4a65b3e

* changes:
  Skip sleep and retry if git remote update exits with a signal
  Catch exceptions in project list generator
This commit is contained in:
David Pursehouse 2015-06-02 00:14:43 +00:00 committed by Gerrit Code Review
commit 472ce9f5fa
2 changed files with 22 additions and 4 deletions

View file

@ -1909,6 +1909,9 @@ class Project(object):
# mode, we just tried sync'ing from the upstream field; it doesn't exist, thus
# abort the optimization attempt and do a full sync.
break
elif ret < 0:
# Git died with a signal, exit immediately
break
time.sleep(random.randint(30, 45))
if initial: