Skip to content

Commit

Permalink
Clarify in README that default timeout is 0 (no timeout) (#1750)
Browse files Browse the repository at this point in the history
Clarify in README that default timeout is 0 (no timeout)
  • Loading branch information
aguynamedben authored and mzabriskie committed Aug 23, 2018
1 parent 7db0494 commit 9005a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -283,7 +283,7 @@ These are the available config options for making requests. Only the `url` is re

// `timeout` specifies the number of milliseconds before the request times out.
// If the request takes longer than `timeout`, the request will be aborted.
timeout: 1000,
timeout: 1000, // default is `0` (no timeout)

// `withCredentials` indicates whether or not cross-site Access-Control requests
// should be made using credentials
Expand Down

0 comments on commit 9005a54

Please sign in to comment.