Skip to content

Commit 065e3ef

Browse files
committed
Auto merge of #5977 - ehuss:timeout-doc, r=alexcrichton
Fix http.timeout documentation. This was changed in #2770, but the docs were never updated.
2 parents 9311f6d + e78d5d4 commit 065e3ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/src/reference/config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ token = "..." # Access token (found on the central repo’s website)
9292
[http]
9393
proxy = "host:port" # HTTP proxy to use for HTTP requests (defaults to none)
9494
# in libcurl format, e.g. "socks5h://host:port"
95-
timeout = 60000 # Timeout for each HTTP request, in milliseconds
95+
timeout = 30 # Timeout for each HTTP request, in seconds
9696
cainfo = "cert.pem" # Path to Certificate Authority (CA) bundle (optional)
9797
check-revoke = true # Indicates whether SSL certs are checked for revocation
9898
low-speed-limit = 5 # Lower threshold for bytes/sec (10 = default, 0 = disabled)

0 commit comments

Comments
 (0)