Skip to content

Commit

Permalink
Update behaviour.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
AdventureSeeker987 authored Nov 5, 2024
1 parent b3ad722 commit 944ac0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocols/gossipsub/src/behaviour.rs
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ where
&& !self.backoffs.is_backoff_with_slack(topic_hash, p)
});

// Add up to mesh_n of them them to the mesh
// Add up to mesh_n of them to the mesh
// NOTE: These aren't randomly added, currently FIFO
let add_peers = std::cmp::min(peers.len(), self.config.mesh_n());
tracing::debug!(
Expand Down

0 comments on commit 944ac0c

Please sign in to comment.