Skip to content

Commit

Permalink
clarify what max_network_retries does
Browse files Browse the repository at this point in the history
  • Loading branch information
Changaco committed Aug 12, 2019
1 parent 95166ac commit 1ad69f4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -102,12 +102,15 @@ stripe.proxy = "https://user:pass@example.com:1234"
### Configuring Automatic Retries

Number of automatic retries on requests that fail due to an intermittent
network problem can be configured:
problem can be configured:

```python
stripe.max_network_retries = 2
```

A request is retried if it times out or fails due to a network error or if the
API responds with a `409` HTTP status code.

[Idempotency keys][idempotency-keys] are automatically generated and added to
requests, when not given, to guarantee that retries are safe.

Expand Down

0 comments on commit 1ad69f4

Please sign in to comment.