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.

@davecgh davecgh force-pushed the pivoter_retry_on_url_err branch from f35f8f8 to c01ed0a Compare December 7, 2018 18:39
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 pivoter_retry_on_url_err branch from c01ed0a to 8c88fcc Compare December 7, 2018 18:45
@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.

3 participants