We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 126c3fb commit 610cf27Copy full SHA for 610cf27
1 file changed
storage/tests/system.py
@@ -43,8 +43,8 @@ def _bad_copy(bad_request):
43
return err_msg.startswith("No file found in request. (POST") and "copyTo" in err_msg
44
45
46
-retry_429 = RetryErrors(exceptions.TooManyRequests)
47
-retry_429_503 = RetryErrors([exceptions.TooManyRequests, exceptions.ServiceUnavailable])
+retry_429 = RetryErrors(exceptions.TooManyRequests, max_tries=6)
+retry_429_503 = RetryErrors([exceptions.TooManyRequests, exceptions.ServiceUnavailable], max_tries=6)
48
retry_bad_copy = RetryErrors(exceptions.BadRequest, error_predicate=_bad_copy)
49
50
0 commit comments