mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-10 21:24:05 -05:00
remove debug mesages
This commit is contained in:
parent
f6852172e6
commit
7d306867f1
2 changed files with 5 additions and 2 deletions
|
|
@ -196,7 +196,9 @@ module TCP_server = struct
|
|||
loop ()
|
||||
in
|
||||
|
||||
if can_start then (
|
||||
if can_start then
|
||||
let@ _sp = Tracing_.with_span "moonpool-unix.tcp-server.run" in
|
||||
|
||||
let sock =
|
||||
try
|
||||
let sock =
|
||||
|
|
@ -213,6 +215,7 @@ module TCP_server = struct
|
|||
Fut.fulfill_idempotent promise @@ Error (Exn_bt.make e bt);
|
||||
Printexc.raise_with_backtrace e bt
|
||||
in
|
||||
|
||||
while A.get st = Running do
|
||||
let client_sock, client_addr = accept_ sock in
|
||||
let client_fd = Fd.create client_sock in
|
||||
|
|
@ -237,7 +240,6 @@ module TCP_server = struct
|
|||
in
|
||||
()
|
||||
done
|
||||
)
|
||||
end
|
||||
|
||||
let create ?(after_init = ignore) ?listen ?buf_pool ?buf_size ~runner
|
||||
|
|
|
|||
|
|
@ -207,6 +207,7 @@ module Ev_loop = struct
|
|||
let reads, writes = IO_tbl.prepare_select self.io_tbl in
|
||||
A.set self.in_blocking_section true;
|
||||
let reads, writes, _ =
|
||||
let@ _sp = Tracing_.with_span "moonpool-unix.evloop.select" in
|
||||
Unix.select (self.pipe_read :: reads) writes [] delay
|
||||
in
|
||||
A.set self.in_blocking_section false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue