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

Retry when timeout #175

Open
cboulanger opened this issue Feb 24, 2023 · 1 comment
Open

Retry when timeout #175

cboulanger opened this issue Feb 24, 2023 · 1 comment

Comments

@cboulanger
Copy link

Hi, how would I implement a retry on timeout with Serrano? Is there a way to configure Faraday to use the retry plugin without a lot of boilerplate?

Thank you.

@sckott
Copy link
Owner

sckott commented Feb 25, 2023

Thanks for the issue.

Retries aren't supported right now.

I know in ruby we can monkey patch, but I don't see a way to make that easy for a user given the current setup.

I could add the https://github.com/lostisland/faraday-retry middleware for retry support and add a param for retry settings, or possibly just number of retries

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

No branches or pull requests

2 participants