Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[HttpClient] Addmax_retries option toRetryableHttpClient#50240
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
nicolas-grekas commentedMay 5, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
What about adding |
danielburger1337 commentedMay 5, 2023
Yes, this would be much more flexible approach and I like it! To be extra clear, would this option overide the |
nicolas-grekas commentedMay 5, 2023
Yes, it would override it indeed. |
OskarStark commentedMay 6, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Can you please update the pr header? You still mention no_retry. Thanks |
danielburger1337 commentedMay 6, 2023
What do you mean by PR header? Do you mean my original PR description? Sorry, I never heard that term before. |
OskarStark commentedMay 6, 2023
Yes the PR description and the code example. Thanks |
danielburger1337 commentedMay 6, 2023
Done |
nicolas-grekas left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Look good to me thanks. I just have a minor comment.
Uh oh!
There was an error while loading.Please reload this page.
max_retries option toRetryableHttpClientnicolas-grekas commentedJun 9, 2023
Thank you@danielburger1337. |
…tryableHttpClient` (danielburger1337)This PR was submitted for the 6.3 branch but it was merged into the 6.4 branch instead.Discussion----------[HttpClient] Add `max_retries` setting docs on the `RetryableHttpClient`References [#50240](symfony/symfony#50240)Commits-------bf57a3e Add 'max_retries' setting docs on the RetryableHttpClient
Uh oh!
There was an error while loading.Please reload this page.
Added a
max_retriesoption to RetryableHttpClient that allows the user to configure the RetryableHttpClient on a per request level, which is especially useful whenretry_failedwas configured for the globalhttp_clientservice.