Record: PoolConfiguration

Configurations for managing HTTP client connection pool.

Closed record

Fields

  • maxActiveConnections int(default maxActiveConnections)
  • Max active connections per route(host:port). Default value is -1 which indicates unlimited.

  • maxIdleConnections int(default maxIdleConnections)
  • Maximum number of idle connections allowed per pool.

  • waitTime decimal(default waitTime)
  • Maximum amount of time (in seconds), the client should wait for an idle connection before it sends an error when the pool is exhausted

  • maxActiveStreamsPerConnection int(default maxActiveStreamsPerConnection)
  • Maximum active streams per connection. This only applies to HTTP/2.