Fix qps timeout bug
This commit is contained in:
parent
6c1c06f6be
commit
56a2ebb210
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user