Skip to content

Commit 4824907

Browse files
authored
Fix wrong/outdated connect timeout documentation (#714)
1 parent d766674 commit 4824907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AsyncHTTPClient/HTTPClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ extension HTTPClient: @unchecked Sendable {}
923923
extension HTTPClient.Configuration {
924924
/// Timeout configuration.
925925
public struct Timeout: Sendable {
926-
/// Specifies connect timeout. If no connect timeout is given, a default 30 seconds timeout will applied.
926+
/// Specifies connect timeout. If no connect timeout is given, a default 10 seconds timeout will be applied.
927927
public var connect: TimeAmount?
928928
/// Specifies read timeout.
929929
public var read: TimeAmount?

0 commit comments

Comments
 (0)