Skip to content

Commit d74d052

Browse files
jsvdkares
andcommitted
Improve documentation of automatic_retries and retry_non_idempotent
Co-Authored-By: Karol Bucek <[email protected]>
1 parent 8f0abeb commit d74d052

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/index.asciidoc

+4
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ output plugins.
8686

8787
How many times should the client retry a failing URL. We highly recommend NOT setting this value
8888
to zero if keepalive is enabled. Some servers incorrectly end keepalives early requiring a retry!
89+
Only IO related failures will be retried, such as connection timeouts and unreachable hosts.
90+
Valid but non 2xx HTTP responses will always be retried, regardless of the value of this setting,
91+
unless `retry_failed` is set.
8992
Note: if `retry_non_idempotent` is NOT set only GET, HEAD, PUT, DELETE, OPTIONS, and TRACE requests will be retried.
9093

9194
[id="plugins-{type}s-{plugin}-cacert"]
@@ -316,6 +319,7 @@ Set this to false if you don't want this output to retry failed requests
316319
* Default value is `false`
317320

318321
If `automatic_retries` is enabled this will cause non-idempotent HTTP verbs (such as POST) to be retried.
322+
This only affects connectivity related errors (see related `automatic_retries` setting).
319323

320324
[id="plugins-{type}s-{plugin}-retryable_codes"]
321325
===== `retryable_codes`

0 commit comments

Comments
 (0)