mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-06 03:05:30 -05:00
update tests
This commit is contained in:
parent
8bfe76b3e0
commit
ed6db54b1a
2 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ let main ~port ~runner ~dir ~n_conn () : unit Lwt.t =
|
|||
(* TODO: *)
|
||||
let run_task () : unit =
|
||||
let _sp = Trace.enter_manual_toplevel_span ~__FILE__ ~__LINE__ "run-task" in
|
||||
M_lwt.TCP_client.with_connect' addr @@ fun ic oc ->
|
||||
M_lwt.TCP_client.with_connect_lwt addr @@ fun ic oc ->
|
||||
let rec walk file : unit =
|
||||
if not (Sys.file_exists file) then
|
||||
()
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ let main ~port ~runner () : unit Lwt.t =
|
|||
in
|
||||
|
||||
let addr = Unix.ADDR_INET (Unix.inet_addr_any, port) in
|
||||
let _server = M_lwt.TCP_server.establish' ~runner addr handle_client in
|
||||
let _server = M_lwt.TCP_server.establish_lwt ~runner addr handle_client in
|
||||
|
||||
lwt_fut
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue