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

Commit

Permalink
Merge pull request #284 from subspace/increase-default-out-peers
Browse files Browse the repository at this point in the history
Increase default number of outgoing peers
  • Loading branch information
nazar-pc authored Jul 19, 2022
2 parents 317bcee + d46fdeb commit a615a41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src-tauri/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ fn create_configuration<CS: ChainSpec + 'static>(
];
network.boot_nodes = chain_spec.boot_nodes().to_vec();

// Increase default value of 25 to improve success rate of sync
network.default_peers_set.out_peers = 50;
// Full + Light clients
network.default_peers_set.in_peers = 25 + 100;
let role = Role::Authority;
Expand Down

0 comments on commit a615a41

Please sign in to comment.