type t
=
{
max_open_connections : int; |
cleanup_idle_connection_after : Core.Time.Span.t; |
max_connections_per_address : int; |
max_connection_reuse : int; |
}
include sig ... end
val t_of_sexp : Base.Sexp.t ‑> t
val sexp_of_t : t ‑> Base.Sexp.t
val max_connection_reuse : t ‑> int
val max_connections_per_address : t ‑> int
val cleanup_idle_connection_after : t ‑> Core.Time.Span.t
val max_open_connections : t ‑> int
module Fields : sig ... end
val bin_t : t Bin_prot.Type_class.t
val bin_read_t : t Bin_prot.Read.reader
val __bin_read_t__ : (int ‑> t) Bin_prot.Read.reader
val bin_reader_t : t Bin_prot.Type_class.reader
val bin_size_t : t Bin_prot.Size.sizer
val bin_write_t : t Bin_prot.Write.writer
val bin_writer_t : t Bin_prot.Type_class.writer
val bin_shape_t : Bin_prot.Shape.t
val create : max_open_connections:int ‑> cleanup_idle_connection_after:Core.Time.Span.t ‑> max_connections_per_address:int ‑> max_connection_reuse:int ‑> t
val to_cache_config : t ‑> Resource_cache.Cache.Config.t
val of_cache_config : Resource_cache.Cache.Config.t ‑> t