Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
8671fb76
Commit
8671fb76
authored
2 years ago
by
Pierre Krieger
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Decrease default --out-peers from 25 to 15 (#12434)
Co-authored-by:
Bastian Köcher
<
git@kchr.de
>
parent
095d1ec1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
substrate/client/cli/src/params/network_params.rs
+2
-1
2 additions, 1 deletion
substrate/client/cli/src/params/network_params.rs
with
2 additions
and
1 deletion
substrate/client/cli/src/params/network_params.rs
+
2
−
1
View file @
8671fb76
...
...
@@ -82,12 +82,13 @@ pub struct NetworkParams {
pub
allow_private_ipv4
:
bool
,
/// Specify the number of outgoing connections we're trying to maintain.
#[arg(long,
value_name
=
"COUNT"
,
default_value_t
=
2
5
)]
#[arg(long,
value_name
=
"COUNT"
,
default_value_t
=
1
5
)]
pub
out_peers
:
u32
,
/// Maximum number of inbound full nodes peers.
#[arg(long,
value_name
=
"COUNT"
,
default_value_t
=
25
)]
pub
in_peers
:
u32
,
/// Maximum number of inbound light nodes peers.
#[arg(long,
value_name
=
"COUNT"
,
default_value_t
=
100
)]
pub
in_peers_light
:
u32
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment