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

Projects
None yet
3 participants
@davecgh
Copy link
Member

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.

@davecgh davecgh force-pushed the davecgh:pivoter_retry_on_url_err branch from f35f8f8 to c01ed0a Dec 7, 2018

politeiavoter: Retry on failed req due to URL err.
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.

@davecgh davecgh force-pushed the davecgh:pivoter_retry_on_url_err branch from c01ed0a to 8c88fcc Dec 7, 2018

@lukebp

lukebp approved these changes Dec 7, 2018

@lukebp lukebp merged commit 4bb033a into decred:master Dec 7, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@davecgh davecgh deleted the davecgh:pivoter_retry_on_url_err branch Dec 7, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.