tangled
alpha
login
or
join now
futur.blue
/
pegasus
57
fork
atom
objective categorical abstract machine language personal data server
57
fork
atom
overview
issues
2
pulls
pipelines
Drain sqlite pool after using
futur.blue
5 months ago
2d3aafab
acb3a271
verified
This commit was signed with the committer's
known signature
.
futur.blue
SSH Key Fingerprint:
SHA256:QHGqHWNpqYyw9bt8KmPuJIyeZX9SZewBZ0PR1COtKQ0=
+1
1 changed file
expand all
collapse all
unified
split
pegasus
lib
util.ml
+1
pegasus/lib/util.ml
···
223
223
: 'a Lwt.t =
224
224
match%lwt Caqti_lwt_unix.Pool.use f pool with
225
225
| Ok res ->
226
226
+
let%lwt () = Caqti_lwt_unix.Pool.drain pool in
226
227
Lwt.return res
227
228
| Error e ->
228
229
raise (Caqti_error.Exn e)