Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix default retry backoff factor #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rcutmore
Copy link
Contributor

This fixes #51 by changing the default multiplier in the RoboBrowser class. Previously this was set to None and would raise an error in the underlying urllib3 Retry class when calculating the backoff time for retries. I changed the default to 0 which matches the default in urllib3.

Updated RoboBrowser class to default to a retry multiplier of 0
instead of None. Previously when set to None a TypeError would be
raised in the get_backoff_time method of urllib3's Retry class.

[Resolves jmcarp#51]
@rcutmore rcutmore force-pushed the fix-default-retry-backoff-factor branch from dc7e97b to 944c962 Compare October 14, 2015 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

multiplier def set to None ,will be 0 is better
1 participant