From 02e7536c01f439e53bcc9e53a4336e289eff2792 Mon Sep 17 00:00:00 2001 From: Kapil Thangavelu Date: Mon, 14 Jan 2019 12:24:33 -0500 Subject: [PATCH] aws.rds - remove retry in favor of generic, add additional Throttling code to retry set (#3359) --- c7n/query.py | 1 + c7n/resources/rds.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/c7n/query.py b/c7n/query.py index 2eb4bea9fb8..392cd14d402 100644 --- a/c7n/query.py +++ b/c7n/query.py @@ -350,6 +350,7 @@ class QueryResourceManager(ResourceManager): 'ThrottlingException', 'RequestLimitExceeded', 'Throttled', + 'Throttling', 'Client.RequestLimitExceeded'))) def __init__(self, data, options): diff --git a/c7n/resources/rds.py b/c7n/resources/rds.py index d219ad65071..5e7b5052e7c 100644 --- a/c7n/resources/rds.py +++ b/c7n/resources/rds.py @@ -114,7 +114,6 @@ class resource_type(object): filter_registry = filters action_registry = actions _generate_arn = None - retry = staticmethod(get_retry(('Throttled',))) def __init__(self, data, options): super(RDS, self).__init__(data, options)