Connection_cache.Make
This functor keeps a cache of connections for reuse. Connections are reused based on their remote Conduit.endp
(effectively IP / port).
module Connection : S.Connection
val create :
?ctx:Connection.Net.ctx ->
?keep:int64 ->
?retry:int ->
?parallel:int ->
?depth:int ->
unit ->
t
Create a new connection cache