package resource_cache

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. max_open_connections : int;
  2. cleanup_idle_connection_after : Core.Time_ns.Span.t;
  3. max_connections_per_address : int;
  4. max_connection_reuse : int;
  5. close_idle_connections_when_at_limit : bool;
  6. close_connection_on_unhandled_exn : bool;
}
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t -> t -> int
val close_connection_on_unhandled_exn : t -> bool
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.Time_ns.Span.t
val max_open_connections : t -> int
module Fields : sig ... end
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : max_open_connections:int -> cleanup_idle_connection_after:Core.Time_ns.Span.t -> max_connections_per_address:int -> max_connection_reuse:int -> close_idle_connections_when_at_limit:bool -> close_connection_on_unhandled_exn:bool -> t
val default : t
val to_cache_config : t -> Config.t
val of_cache_config : Config.t -> t
module Stable : sig ... end