Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

replace httr::GET() with httr::RETRY() #43

Merged
merged 1 commit into from
Apr 24, 2020
Merged

replace httr::GET() with httr::RETRY() #43

merged 1 commit into from
Apr 24, 2020

Conversation

annnvv
Copy link
Contributor

@annnvv annnvv commented Apr 21, 2020

Thanks for this awesome project!

In this PR, I'd like to propose swapping out calls to httr::GET() 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.

I'm working on chircollab/chircollab20#1 as part of Chicago R Collab, an R 'unconference' in Chicago.

@sckott
Copy link
Contributor

sckott commented Apr 24, 2020

(@ibarraespinosa just wanted to make sure you saw this)

@salvatirehbein salvatirehbein merged commit 1ad5dc4 into ropensci-archive:master Apr 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants