Skip to content

Commit

Permalink
Update docs on how to disable the retry feature with Got 12 (#1963)
Browse files Browse the repository at this point in the history
  • Loading branch information
Congelli501 authored Jan 11, 2022
1 parent 693c4c7 commit 6eb0fd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/2-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Source code: [`source/core/options.ts`](../source/core/options.ts)
Like `fetch` stores the options in a `Request` instance, Got does so in `Options`.\
It is made of getters and setters that provide fast option normalization and validation.

**By default, Got will retry on failure. To disable this option, set [`options.retry`](7-retry.md) to `0`.**
**By default, Got will retry on failure. To disable this option, set [`options.retry`](7-retry.md) to `{limit: 0}`.**

#### Merge behavior explained

Expand Down

0 comments on commit 6eb0fd3

Please sign in to comment.