Skip to content

Commit

Permalink
Enhance the Retry Middleware Documentation
Browse files Browse the repository at this point in the history
Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
  • Loading branch information
2 people authored and traefiker committed Sep 4, 2019
1 parent 81a1f61 commit 3689990
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/content/middlewares/retry.md
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.

0 comments on commit 3689990

Please sign in to comment.