Skip to content

Commit

Permalink
reduce max candidate to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
HarukaMa committed Feb 26, 2022
1 parent 14ff1d3 commit 59b5a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/environment/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ pub trait Environment: 'static + Clone + Debug + Default + Send + Sync {
/// The maximum number of connection failures permitted by an inbound connecting peer.
const MAXIMUM_CONNECTION_FAILURES: u32 = 3;
/// The maximum number of candidate peers permitted to be stored in the node.
const MAXIMUM_CANDIDATE_PEERS: usize = 10_000;
const MAXIMUM_CANDIDATE_PEERS: usize = 100;

/// The maximum size of a message that can be transmitted in the network.
const MAXIMUM_MESSAGE_SIZE: usize = 128 * 1024 * 1024; // 128 MiB
Expand Down

0 comments on commit 59b5a6d

Please sign in to comment.