Fix qps timeout bug

This commit is contained in:
Mario de Frutos 2018-10-03 18:50:20 +02:00
parent 6c1c06f6be
commit 56a2ebb210

View File

@ -49,6 +49,8 @@ class QPSService:
self.retry(start_time, attempt_number) self.retry(start_time, attempt_number)
elif response.status_code == 429: elif response.status_code == 429:
self.retry(start_time, attempt_number) self.retry(start_time, attempt_number)
else:
raise e
else: else:
raise e raise e
attempt_number += 1 attempt_number += 1