Skip to content
This repository has been archived by the owner on Aug 7, 2020. It is now read-only.

Commit

Permalink
Correct retry backoff configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
alanfung committed May 26, 2017
1 parent b77a420 commit 91149f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tenable_io/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def _init_session(self):
retries = Retry(
total=TenableIOClient._MAX_RETRIES,
status_forcelist=TenableIOClient._RETRY_STATUS_CODES,
backoff_factor=0.1,
backoff_factor=2,
respect_retry_after_header=True
)
adapter = requests.adapters.HTTPAdapter(max_retries=retries)
Expand Down

0 comments on commit 91149f2

Please sign in to comment.