[cloud] Extend AWSRetry to also retry on Throttling
exceptions (#22698)
We use ansible+cloudformation pretty heavily in our CI environments and occasionally bump into throttling issues. By adding this error code to the retry system we should be able to achieve better stability.
This commit is contained in:
parent
2276c5f206
commit
ac15df8ab9
1 changed files with 2 additions and 1 deletions
|
@ -85,7 +85,8 @@ class AWSRetry(CloudRetry):
|
|||
# https://github.com/boto/boto3/issues/876 (and linked PRs etc)
|
||||
retry_on = [
|
||||
'RequestLimitExceeded', 'Unavailable', 'ServiceUnavailable',
|
||||
'InternalFailure', 'InternalError', 'TooManyRequestsException'
|
||||
'InternalFailure', 'InternalError', 'TooManyRequestsException',
|
||||
'Throttling'
|
||||
]
|
||||
|
||||
not_found = re.compile(r'^\w+.NotFound')
|
||||
|
|
Loading…
Reference in a new issue