File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -343,15 +343,11 @@ const DEFAULT_INBOUND_HTTP1_CONNECTION_POOL_IDLE_TIMEOUT: Duration = Duration::f
343343// TODO(ver) This should be configurable at the load balancer level.
344344const DEFAULT_OUTBOUND_HTTP1_CONNECTION_POOL_IDLE_TIMEOUT : Duration = Duration :: from_secs ( 3 ) ;
345345
346- // By default, we don't limit the number of connections a connection pool may
347- // use, as doing so can severely impact CPU utilization for applications with
348- // many concurrent requests. It's generally preferable to use the MAX_IDLE_AGE
349- // limitations to quickly drop idle connections.
350- const DEFAULT_INBOUND_MAX_IDLE_CONNS_PER_ENDPOINT : usize = usize:: MAX ;
351- // By default, we limit the number of outbound connections that may be opened
352- // per-host. We pick a high number (10k) that shouldn't interfere with most
353- // workloads, but will prevent issues with our outbound HTTP client from
354- // exhausting the file descriptors available to the process.
346+ // By default, we limit the number of connections that may be opened per-host.
347+ // We pick a high number (10k) that shouldn't interfere with most workloads, but
348+ // will prevent issues with our outbound HTTP client from exhausting the file
349+ // descriptors available to the process.
350+ const DEFAULT_INBOUND_MAX_IDLE_CONNS_PER_ENDPOINT : usize = 10_000 ;
355351const DEFAULT_OUTBOUND_MAX_IDLE_CONNS_PER_ENDPOINT : usize = 10_000 ;
356352
357353// These settings limit the number of requests that have not received responses,
You can’t perform that action at this time.
0 commit comments