https://github.com/boto/boto/pull/3506 https://github.com/boto/boto/pull/3508f38
parent
26816a9639
commit
1b3e70df5c
@ -0,0 +1,13 @@
|
||||
Index: boto-2.40.0/boto/connection.py
|
||||
===================================================================
|
||||
--- boto-2.40.0.orig/boto/connection.py
|
||||
+++ boto-2.40.0/boto/connection.py
|
||||
@@ -920,7 +920,7 @@ class AWSAuthConnection(object):
|
||||
while i <= num_retries:
|
||||
# Use binary exponential backoff to desynchronize client requests.
|
||||
next_sleep = min(random.random() * (2 ** i),
|
||||
- boto.config.get('Boto', 'max_retry_delay', 60))
|
||||
+ boto.config.getfloat('Boto', 'max_retry_delay', 60))
|
||||
try:
|
||||
# we now re-sign each request before it is retried
|
||||
boto.log.debug('Token: %s' % self.provider.security_token)
|
Loading…
Reference in new issue