Skip to content

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