diff options
Diffstat (limited to 'boto/dynamodb/layer1.py')
-rw-r--r-- | boto/dynamodb/layer1.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/boto/dynamodb/layer1.py b/boto/dynamodb/layer1.py index 317cf433..01a49020 100644 --- a/boto/dynamodb/layer1.py +++ b/boto/dynamodb/layer1.py @@ -173,7 +173,8 @@ class Layer1(AWSAuthConnection): if i == 0: next_sleep = 0 else: - next_sleep = 0.05 * (2 ** i) + next_sleep = min(0.05 * (2 ** i), + boto.config.get('Boto', 'max_retry_delay', 60)) return next_sleep def list_tables(self, limit=None, start_table=None): |