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

added retry logic to HTTP requests #131

Merged
merged 1 commit into from
Nov 4, 2019
Merged

added retry logic to HTTP requests #131

merged 1 commit into from
Nov 4, 2019

Conversation

jameslamb
Copy link
Contributor

Thanks for this cool package! Would you consider a change to use httr::RETRY() instead of httr::GET() for HTTP requests?

This will make the package more resilient to transient problems like brief network outages or periods where the service(s) it hits are overwhelmed. In my experience, using retry logic can improve the user experience with HTTP clients.

I'm sorry about the whitespace changes in this PR...those are something I do in my IDE by default. Figured they are harmless but if you'd like me to revert them please let me know and I'd be happy to.

@tbuckl
Copy link
Member

tbuckl commented Nov 1, 2019

great idea @jameslamb. @polettif i'm ok to merge this if you are.

@polettif
Copy link
Contributor

polettif commented Nov 4, 2019

Sounds good, thank you @jameslamb

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