Record: PoolConfiguration

Configurations for managing the gRPC client connection pool.

Closed record

Fields

  • maxActiveConnections int(default maxActiveConnections)
  • Max active connections per route(host:port). The 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 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