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 excluding specific exceptions from retry #15

Open barrycoleman opened 2 years ago

barrycoleman commented 2 years ago

This feature allows the caller to provide a list of error codes that should be not be retried. This allows to override the built in list and avoid specific instances of the ^.*NotFound pattern, which seems to match more than was intended.