Skip to content

Commit

Permalink
fix(iroh): increase buffer size for rpc controller
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Jun 25, 2024
1 parent 38e8ce0 commit 5e1c315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iroh/src/node/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ where
.await?;

// Initialize the internal RPC connection.
let (internal_rpc, controller) = quic_rpc::transport::flume::connection(1);
let (internal_rpc, controller) = quic_rpc::transport::flume::connection(32);
// box the controller. Boxing has a special case for the flume channel that avoids allocations,
// so this has zero overhead.
let controller = quic_rpc::transport::boxed::Connection::new(controller);
Expand Down

0 comments on commit 5e1c315

Please sign in to comment.