Skip to content

Commit

Permalink
Slightly increase channel buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
john-z-yang committed Oct 24, 2024
1 parent a2cb77e commit df2cf01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ macro_rules! processing_strategy {
let reducer = $reduce;
let err_reducer = $reduce_err;

const CHANNEL_BUFF_SIZE: usize = 64;
const CHANNEL_BUFF_SIZE: usize = 128;
let (reduce_sender, reduce_receiver) = tokio::sync::mpsc::channel(CHANNEL_BUFF_SIZE);
let (commit_sender, commit_receiver) = tokio::sync::mpsc::channel(CHANNEL_BUFF_SIZE);
let (err_sender, err_receiver) = tokio::sync::mpsc::channel(CHANNEL_BUFF_SIZE);
Expand Down

0 comments on commit df2cf01

Please sign in to comment.