Skip to content

Commit

Permalink
increase network channel size
Browse files Browse the repository at this point in the history
  • Loading branch information
akichidis committed Dec 21, 2023
1 parent 9fa5d7c commit 33dda59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mysticeti-core/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,8 @@ impl Worker {
}

async fn make_connection(&self) -> Option<WorkerConnection> {
let (network_in_sender, network_in_receiver) = mpsc::channel(16);
let (network_out_sender, network_out_receiver) = mpsc::channel(16);
let (network_in_sender, network_in_receiver) = mpsc::channel(1_000);
let (network_out_sender, network_out_receiver) = mpsc::channel(1_000);
let (latency_last_value_sender, latency_last_value_receiver) =
tokio::sync::watch::channel(Duration::from_millis(0));
let connection = Connection {
Expand Down

0 comments on commit 33dda59

Please sign in to comment.