linuxdynasty / awsretry

Decorate your AWS Boto3 Calls with AWSRetry.backoff(). This will allows your calls to get around the AWS Eventual Consistency Errors.
45 stars 21 forks source link

Add support for waiter RequestLimitExceeded exceptions. #1

Closed epoelke closed 7 years ago

epoelke commented 7 years ago

Our internal cluster provisioning system uses boto3 waiters at various points in the deployment pipeline to wait for instances to enter certain states before proceeding onto the next task. When stress testing the system we started encountering RequestLimitExceeded for waiters. It turns out waiters raise a different exception and store the response in last_response instead of response. The actual response looks the same though and so is the error code (RequestLimitExceeded).

linuxdynasty commented 7 years ago

Can you please add a description to this PR and why you added this feature. Otherwise the code looks solid

epoelke commented 7 years ago

@linuxdynasty I can send you some syslog output privately if interested.

linuxdynasty commented 7 years ago

The update was exactly what I was looking for. Thank you so much for the PR.