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

politeiavoter: Retry on failed req due to URL err. #639

Merged
merged 1 commit into from Dec 7, 2018

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Dec 7, 2018

This checks the error returned when making a request to specifically detect a *url.Error, which can often happen on Tor for various reasons, and convert it to a retry error so that code which deals with retries will properly retry the request.

This checks the error returned when making a request to specifically
detect a *url.Error, which can often happen on Tor for various reasons,
and convert it to a retry error so that code which deals with retries
will properly retry the request.
@lukebp lukebp merged commit 4bb033a into decred:master Dec 7, 2018
@davecgh davecgh deleted the pivoter_retry_on_url_err branch December 7, 2018 22:16
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.

None yet

3 participants