tangled
alpha
login
or
join now
anil.recoil.org
/
ocaml-conpool
0
fork
atom
TCP/TLS connection pooling for Eio
0
fork
atom
overview
issues
pulls
pipelines
-Unix.gettimeofday
anil.recoil.org
3 months ago
06dcf58b
4bf43974
+2
-4
1 changed file
expand all
collapse all
unified
split
lib
connection.ml
+2
-4
lib/connection.ml
···
33
33
34
34
let pp ppf t =
35
35
let uses = Eio.Mutex.use_ro t.mutex (fun () -> t.use_count) in
36
36
-
Fmt.pf ppf "Connection(endpoint=%a, age=%.2fs, uses=%d)" Endpoint.pp
37
37
-
t.endpoint
38
38
-
(Unix.gettimeofday () -. t.created_at)
39
39
-
uses
36
36
+
Fmt.pf ppf "Connection(endpoint=%a, created_at=%.2f, uses=%d)" Endpoint.pp
37
37
+
t.endpoint t.created_at uses