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:
Dustin J. Mitchell 2018-05-01 01:25:24 +00:00
Родитель 788397fa22
Коммит ebc5bef8b2
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -30,7 +30,7 @@ def get_changed_files(repository, revision):
def get_automationrelevance():
response = requests.get(url, timeout=5)
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:'
.format(len(contents['changesets'])))