Skip to content

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

Merged
rich-iannone merged 3 commits into
rstudio:masterfrom
ataustin:retry-logic
May 3, 2023
Merged

replace httr::POST() with httr::RETRY()#176
rich-iannone merged 3 commits into
rstudio:masterfrom
ataustin:retry-logic

Conversation

@ataustin
Copy link
Copy Markdown
Contributor

Thanks for for this awesome project, @rich-iannone! 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() 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.

Copy link
Copy Markdown
Member

@rich-iannone rich-iannone left a comment

Choose a reason for hiding this comment

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

Looks great, thanks for the PR!

@rich-iannone rich-iannone merged commit cdf155b into rstudio:master May 3, 2023
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