mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-05 19:00:33 -05:00
test: unix libev to make sure we handle more than 1024 simultaneous
connections in echo server
This commit is contained in:
parent
0e9d358cb5
commit
38b84e0c03
1 changed files with 1 additions and 0 deletions
|
|
@ -62,4 +62,5 @@ let () =
|
|||
Arg.parse opts ignore "echo server";
|
||||
|
||||
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 ()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue