Skip to content

Commit

Permalink
update mesh config
Browse files Browse the repository at this point in the history
Signed-off-by: ozkanonur <work@onurozkan.dev>
  • Loading branch information
onur-ozkan committed Jul 24, 2023
1 parent 3c246dc commit 092d562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm2src/mm2_p2p/src/behaviours/atomicdex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ fn start_gossipsub(
.map(|addr| addr.try_to_multiaddr(network_info))
.collect::<Result<Vec<Multiaddr>, _>>()?;

let (mesh_n_low, mesh_n, mesh_n_high) = if i_am_relay { (4, 8, 16) } else { (2, 4, 8) };
let (mesh_n_low, mesh_n, mesh_n_high) = if i_am_relay { (4, 8, 12) } else { (2, 4, 6) };

// Create a Swarm to manage peers and events
let mut swarm = {
Expand Down

0 comments on commit 092d562

Please sign in to comment.