зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1458105 - try more to fetch automationrelevance; r=gps
MozReview-Commit-ID: LdcGes2mf01 --HG-- extra : rebase_source : ef4d14bca0b18defcedf5a039df85956de482f81 extra : source : ab6f969c2b916f87c3acc54d2abf1ae4d051d0e3
This commit is contained in:
Родитель
788397fa22
Коммит
ebc5bef8b2
|
@ -30,7 +30,7 @@ def get_changed_files(repository, revision):
|
||||||
def get_automationrelevance():
|
def get_automationrelevance():
|
||||||
response = requests.get(url, timeout=5)
|
response = requests.get(url, timeout=5)
|
||||||
return response.json()
|
return response.json()
|
||||||
contents = retry(get_automationrelevance, attempts=2, sleeptime=10)
|
contents = retry(get_automationrelevance, attempts=10, sleeptime=10)
|
||||||
|
|
||||||
logger.debug('{} commits influencing task scheduling:'
|
logger.debug('{} commits influencing task scheduling:'
|
||||||
.format(len(contents['changesets'])))
|
.format(len(contents['changesets'])))
|
||||||
|
|
Загрузка…
Ссылка в новой задаче