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;
}
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
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 create : max_open_connections:int -> cleanup_idle_connection_after:Core_kernel.Time_ns.Span.t -> max_connections_per_address:int -> max_connection_reuse:int -> t
val default : t
val to_cache_config : t -> Config.t
val of_cache_config : Config.t -> t
module Stable : sig ... end