Skip to content

replace httr::POST() with httr::RETRY() #199

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

Merged
merged 2 commits into from
Apr 18, 2020
Merged

replace httr::POST() with httr::RETRY() #199

merged 2 commits into from
Apr 18, 2020

Conversation

jameslamb
Copy link
Contributor

Summary

Hey @jdblischak thanks for for this awesome project! I'm working on chircollab/chircollab20#1 as part of Chicago R Collab.

In this PR, I'd like to propose swapping out calls to httr::POST() etc. with httr::RETRY(). 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 almost always improves the user experience with HTTP clients.

Thanks for your time and consideration.

Checklist

Details

Copy link
Member

@jdblischak jdblischak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome! Thanks for making workflowr HTTP calls more robust. I made a few minor requests. Once these are updated, I'll be happy to merge your PR.

@jameslamb jameslamb requested a review from jdblischak April 18, 2020 20:54
@jdblischak jdblischak merged commit d392715 into workflowr:master Apr 18, 2020
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.

2 participants