Skip to content
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

Enhance the Retry Middleware Documentation #5298

Merged
merged 3 commits into from
Sep 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/content/middlewares/retry.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Retrying until it Succeeds

`TODO: add schema`

Retry to send request on attempt failure.
The Retry middleware is in charge of reissuing a request a given number of times to a backend server if that server does not reply.
To be clear, as soon as the server answers, the middleware stops retrying, regardless of the response status.

## Configuration Examples

Expand Down Expand Up @@ -60,4 +61,4 @@ http:

_mandatory_

The `attempts` option defines how many times to try sending the request.
The `attempts` option defines how many times the request should be retried.