File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -731,7 +731,11 @@ The ``RetryableHttpClient`` uses a
731
731
decide if the request should be retried, and to define the waiting time between
732
732
each retry.
733
733
734
+ <<<<<<< HEAD
734
735
Retry over different URIs
736
+ =======
737
+ Retry Over Different URIs
738
+ >>>>>>> origin/feature/httpclient_multiple_baseuri
735
739
.........................
736
740
737
741
.. versionadded :: 6.3
@@ -747,13 +751,13 @@ request::
747
751
'base_uri' => [
748
752
// first request will use this base URI
749
753
'http://example.com/a/',
750
- // if first request fails, this second base URI will be used
754
+ // if first request fails, the following base URI will be used
751
755
'http://example.com/b/',
752
756
],
753
757
]);
754
758
755
759
When the number of retries is higher than the number of base URIs, the
756
- last base URI will be used for remaining retries.
760
+ last base URI will be used for the remaining retries.
757
761
758
762
If you want to shuffle the order of base URIs for each retry attempt, nest the
759
763
base URIs you want to shuffle in an additional array::
You can’t perform that action at this time.
0 commit comments