mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
Clarify in README that default timeout is 0 (no timeout) (#1750)
Clarify in README that default timeout is 0 (no timeout)
This commit is contained in:
committed by
Matt Zabriskie
parent
7db0494579
commit
9005a54a8b
@@ -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.
|
// `timeout` specifies the number of milliseconds before the request times out.
|
||||||
// If the request takes longer than `timeout`, the request will be aborted.
|
// 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
|
// `withCredentials` indicates whether or not cross-site Access-Control requests
|
||||||
// should be made using credentials
|
// should be made using credentials
|
||||||
|
|||||||
Reference in New Issue
Block a user