Module Resource_cache__.Address_config
type t
=
{
max_open_connections : int;
cleanup_idle_connection_after : Core_kernel.Time_ns.Span.t;
max_connections_per_address : int;
max_connection_reuse : int;
close_idle_connections_when_at_limit : bool;
}
val compare : t -> t -> int
val close_idle_connections_when_at_limit : t -> bool
val max_connection_reuse : t -> int
val max_connections_per_address : t -> int
val cleanup_idle_connection_after : t -> Core_kernel.Time_ns.Span.t
val max_open_connections : t -> int
module Fields : sig ... end
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val create : max_open_connections:int -> cleanup_idle_connection_after:Core_kernel.Time_ns.Span.t -> max_connections_per_address:int -> max_connection_reuse:int -> close_idle_connections_when_at_limit:bool -> t
val default : t
val to_cache_config : t -> Resource_cache.Config.t
val of_cache_config : Resource_cache.Config.t -> t
module Stable : sig ... end