Skip to content

Commit ec9291b

Browse files
v6.2.2 release. Also changed HTTPAdapter to only retry 3 times
1 parent fa6e642 commit ec9291b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

SoftLayer/consts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
:license: MIT, see LICENSE for more details.
77
"""
8-
VERSION = 'v6.2.1'
8+
VERSION = 'v6.2.2'
99
API_PUBLIC_ENDPOINT = 'https://api.softlayer.com/xmlrpc/v3.1/'
1010
API_PRIVATE_ENDPOINT = 'https://api.service.softlayer.com/xmlrpc/v3.1/'
1111
API_PUBLIC_ENDPOINT_REST = 'https://api.softlayer.com/rest/v3.1/'

SoftLayer/transports/transport.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def get_session(user_agent):
2323
'Content-Type': 'application/json',
2424
'User-Agent': user_agent,
2525
})
26-
retry = Retry(connect=3, backoff_factor=3)
26+
retry = Retry(total=3, connect=1, backoff_factor=1)
2727
adapter = HTTPAdapter(max_retries=retry)
2828
client.mount('https://', adapter)
2929
return client

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
setup(
1717
name='SoftLayer',
18-
version='v6.2.1',
18+
version='v6.2.2',
1919
description=DESCRIPTION,
2020
long_description=LONG_DESCRIPTION,
2121
long_description_content_type='text/x-rst',

0 commit comments

Comments
 (0)