HTTP2::Client::PoolConfiguration
Resource and retention policy for an origin-bound connection pool.
The pool grows lazily. max_connections bounds eligible plus dialing
connections; nil removes that hard bound. Idle and retired limits still
apply in nil mode. idle_timeout controls connection retention and is
distinct from Timeouts#idle, which applies to response operations.
Constructors
new(max_connections : Int32 | Nil = 4, max_idle_connections : Int32 = 2, idle_timeout : Time::Span | Nil = 90.seconds, max_retired_connections : Int32 = 4)
SourceInstance methods
idle_timeout
Sourcemax_connections
Sourcemax_idle_connections
Sourcemax_retired_connections
Source