mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
[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:
committed by
Ryan Brown
parent
2276c5f206
commit
ac15df8ab9
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user