test: unix libev to make sure we handle more than 1024 simultaneous

connections in echo server
This commit is contained in:
Simon Cruanes 2024-02-08 22:17:33 -05:00
parent 0e9d358cb5
commit 38b84e0c03
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -62,4 +62,5 @@ let () =
Arg.parse opts ignore "echo server"; Arg.parse opts ignore "echo server";
let@ runner = M.Ws_pool.with_ ~name:"tpool" ~num_threads:!j () in let@ runner = M.Ws_pool.with_ ~name:"tpool" ~num_threads:!j () in
Lwt_engine.set @@ new Lwt_engine.libev ();
Lwt_main.run @@ main ~runner ~port:!port () Lwt_main.run @@ main ~runner ~port:!port ()