Skip to content

Commit

Permalink
Add note about retry in timeout documentation (#2298)
Browse files Browse the repository at this point in the history
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
  • Loading branch information
paescuj and sindresorhus authored Oct 14, 2023
1 parent 944caa8 commit 844cfb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions documentation/6-timeout.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Source code: [`source/core/timed-out.ts`](../source/core/timed-out.ts)
It is a good practice to set a timeout to prevent hanging requests.\
By default, there is no timeout set.

Note: The [`retry` configuration](7-retry.md) also applies to timeouts.

**All numbers refer to milliseconds.**

```js
Expand Down

0 comments on commit 844cfb6

Please sign in to comment.