[HttpClient] Add max_retries option to RetryableHttpClient#50240
[HttpClient] Add max_retries option to RetryableHttpClient#50240nicolas-grekas merged 1 commit intosymfony:6.4from danielburger1337:httpclient-no-retry
max_retries option to RetryableHttpClient#50240Conversation
|
What about adding |
Yes, this would be much more flexible approach and I like it! To be extra clear, would this option overide the |
|
Yes, it would override it indeed. |
|
Can you please update the pr header? You still mention no_retry. Thanks |
What do you mean by PR header? Do you mean my original PR description? Sorry, I never heard that term before. |
|
Yes the PR description and the code example. Thanks |
Done |
There was a problem hiding this comment.
Look good to me thanks. I just have a minor comment.
max_retries option to RetryableHttpClient
|
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
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.