Skip to content

Commit

Permalink
deepen the shared memory metadata buffers to 64k each
Browse files Browse the repository at this point in the history
  • Loading branch information
avsm committed Mar 31, 2012
1 parent 51c2426 commit 932b14c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/shm_pipe.ml
Expand Up @@ -36,8 +36,8 @@ let dprintf fmt =
(* Given a handle, retrieve a pair of input/output streams *)
let make_flow handle =
(* Buffered metadata channels *)
let ic = Lwt_io.(of_fd ~mode:input handle.fd) in
let oc = Lwt_io.(of_fd ~mode:output handle.fd) in
let ic = Lwt_io.(of_fd ~buffer_size:65535 ~mode:input handle.fd) in
let oc = Lwt_io.(of_fd ~buffer_size:65535 ~mode:output handle.fd) in
(* Listeners waiting for new incoming extents *)
let rx_waiters = Lwt_sequence.create () in
(* Listeners waiting for free space on the transmit queue *)
Expand Down

0 comments on commit 932b14c

Please sign in to comment.