-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[p2p] Set Conns limit to 1-2x maxPeers #4032
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #4032 +/- ##
==========================================
+ Coverage 75.38% 76.30% +0.92%
==========================================
Files 303 330 +27
Lines 25923 28262 +2339
==========================================
+ Hits 19541 21565 +2024
- Misses 5360 5599 +239
- Partials 1022 1098 +76 ☔ View full report in Codecov by Sentry. |
|
@@ -207,3 +207,5 @@ require ( | |||
replace github.com/ethereum/go-ethereum => github.com/iotexproject/go-ethereum v1.7.4-0.20230806203205-6819e8158a5f | |||
|
|||
replace golang.org/x/xerrors => golang.org/x/xerrors v0.0.0-20190212162355-a5947ffaace3 | |||
|
|||
replace github.com/iotexproject/go-p2p => github.com/iotexproject/go-p2p v0.3.6-0.20231222070751-203dad2e2816 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unnecessary to update p2p package?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't merge before validating the change
Description
reduce p2p connections to reduce message traffic
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist: