Skip to content
This repository has been archived by the owner on Dec 26, 2024. It is now read-only.

Commit

Permalink
feat(consensus): consensus network buffer size uses the default value (
Browse files Browse the repository at this point in the history
  • Loading branch information
matan-starkware authored Jul 16, 2024
1 parent b348d9f commit b26f2c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/papyrus_node/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,8 @@ fn run_network(

let consensus_channels = match consensus_config {
Some(consensus_config) => Some(
network_manager.register_broadcast_topic(Topic::new(consensus_config.topic), 100)?,
network_manager
.register_broadcast_topic(Topic::new(consensus_config.topic), BUFFER_SIZE)?,
),
None => None,
};
Expand Down

0 comments on commit b26f2c7

Please sign in to comment.