-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
FrameworkBundleHttpClientgood first issueIdeal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.help wantedIssues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.
Milestone
Description
In the http_client configuration doc, it seems at first glance that max_retries is a direct child of http_client :
framework.http_client.max_retries
But this config
framework:
http_client:
max_retries: 3gives me this error
Unrecognized option "max_retries" under "framework.http_client".
It seems that max_retries lives under retry_failed instead
$ bin/console debug:config framework
http_client:
default_options:
retry_failed:
enabled: false
retry_strategy: null
http_codes: { }
max_retries: 3
delay: 1000
multiplier: 2
max_delay: 0
jitter: 0.1This part in the doc hints to the right placement, but isn't it a bit confusing ?
Metadata
Metadata
Assignees
Labels
FrameworkBundleHttpClientgood first issueIdeal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.help wantedIssues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.