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

Add the possibility to retry request #20

Closed
ymarcon opened this issue Dec 22, 2023 · 1 comment
Closed

Add the possibility to retry request #20

ymarcon opened this issue Dec 22, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ymarcon
Copy link
Member

ymarcon commented Dec 22, 2023

https://httr.r-lib.org/reference/RETRY.html
https://httr2.r-lib.org/reference/req_retry.html

@ymarcon ymarcon added the enhancement New feature or request label Dec 22, 2023
@ymarcon ymarcon self-assigned this Dec 22, 2023
@ymarcon
Copy link
Member Author

ymarcon commented Dec 24, 2023

Applied to GET requests only and do not retry when server responds with an error status: only retry on network errors. Some R options can help with fine tuning this behavior (nb of times to request and quietness).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant