Skip to content

Commit

Permalink
v6.2.2 release. Also changed HTTPAdapter to only retry 3 times
Browse files Browse the repository at this point in the history
  • Loading branch information
allmightyspiff committed May 16, 2024
1 parent fa6e642 commit ec9291b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SoftLayer/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/'
Expand Down
2 changes: 1 addition & 1 deletion SoftLayer/transports/transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit ec9291b

Please sign in to comment.