8000 [HttpClient] change piority of RetryableHttpClient by jderusse · Pull Request #38413 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[HttpClient] change piority of RetryableHttpClient #38413

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

Merged
merged 1 commit into from
Oct 5, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2094,7 +2094,7 @@ private function registerHttpClientRetry(array $retryOptions, string $name, Cont

$container
->register($name.'.retry', RetryableHttpClient::class)
->setDecoratedService($name)
->setDecoratedService($name, null, -10) // lower priority than TraceableHttpClient
->setArguments([new Reference($name.'.retry.inner'), $deciderReference, $backoffReference, $retryOptions['max_retries'], new Reference('logger')])
->addTag('monolog.logger', ['channel' => 'http_client']);
}
Expand Down
0