diff --git a/SoftLayer/consts.py b/SoftLayer/consts.py index 79cd61ef7..2bc9bd20a 100644 --- a/SoftLayer/consts.py +++ b/SoftLayer/consts.py @@ -5,7 +5,7 @@ :license: MIT, see LICENSE for more details. """ -VERSION = 'v6.2.1' +VERSION = 'v6.2.2' API_PUBLIC_ENDPOINT = 'https://api.softlayer.com/xmlrpc/v3.1/' API_PRIVATE_ENDPOINT = 'https://api.service.softlayer.com/xmlrpc/v3.1/' API_PUBLIC_ENDPOINT_REST = 'https://api.softlayer.com/rest/v3.1/' diff --git a/SoftLayer/transports/transport.py b/SoftLayer/transports/transport.py index 0454632ba..ab5ebedde 100644 --- a/SoftLayer/transports/transport.py +++ b/SoftLayer/transports/transport.py @@ -23,7 +23,7 @@ def get_session(user_agent): 'Content-Type': 'application/json', 'User-Agent': user_agent, }) - retry = Retry(connect=3, backoff_factor=3) + retry = Retry(total=3, connect=1, backoff_factor=1) adapter = HTTPAdapter(max_retries=retry) client.mount('https://', adapter) return client diff --git a/setup.py b/setup.py index 5e57aaa48..d4490fe20 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ setup( name='SoftLayer', - version='v6.2.1', + version='v6.2.2', description=DESCRIPTION, long_description=LONG_DESCRIPTION, long_description_content_type='text/x-rst',