Skip to content

Commit

Permalink
Bump up maxConnectionsPerEndpoint on CRT HTTP client
Browse files Browse the repository at this point in the history
  • Loading branch information
dayaffe authored Dec 6, 2024
1 parent 1babc91 commit c06abc0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ public extension DefaultSDKRuntimeConfiguration {
let connectTimeoutMs = httpClientConfiguration.connectTimeout.map { UInt32($0 * 1000) }
let socketTimeout = UInt32(httpClientConfiguration.socketTimeout)
let config = CRTClientEngineConfig(
telemetry: httpClientConfiguration.telemetry ?? CRTClientEngine.noOpCrtClientEngineTelemetry,
maxConnectionsPerEndpoint: 100,
telemetry: httpClientConfiguration.telemetry ?? CRTClientEngine.noOpCrtClientEngineTelemetry,
connectTimeoutMs: connectTimeoutMs,
crtTlsOptions: httpClientConfiguration.tlsConfiguration as? CRTClientTLSOptions,
socketTimeout: socketTimeout
Expand Down

0 comments on commit c06abc0

Please sign in to comment.