-
Notifications
You must be signed in to change notification settings - Fork 214
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
[Merged by Bors] - p2p: add spread to the discovery advertisement interval #5815
Conversation
Default to 2h +/- 1h discovery advertisement interval
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #5815 +/- ##
=========================================
- Coverage 80.2% 80.2% -0.1%
=========================================
Files 286 286
Lines 29804 29815 +11
=========================================
- Hits 23930 23919 -11
- Misses 4219 4240 +21
- Partials 1655 1656 +1 ☔ View full report in Codecov by Sentry. |
backup, bootnodes []peer.AddrInfo | ||
advertiseDelay time.Duration | ||
advertiseInterval time.Duration | ||
advertiseIntervalSpread time.Duration |
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.
Instead of making this configurable would it make sense to instead have it a relative amount, e.g. 1%?
bors merge |
## Motivation Need to lessen DHT overload from the routing discovery mechanism
Build failed (retrying...):
|
## Motivation Need to lessen DHT overload from the routing discovery mechanism
Build failed:
|
bors merge |
systests timed out with rather unclear reason, retrying |
## Motivation Need to lessen DHT overload from the routing discovery mechanism
Timed out. |
Timed out on this job: |
bors merge |
## Motivation Need to lessen DHT overload from the routing discovery mechanism
Build failed (retrying...): |
Test flake on Windows:
|
bors merge |
Merge conflict. |
e34ac34
to
cff8b4e
Compare
cff8b4e
to
8d5f0e6
Compare
bors merge |
## Motivation Need to lessen DHT overload from the routing discovery mechanism
Pull request successfully merged into develop. Build succeeded: |
Motivation
Need to lessen DHT overload from the routing discovery mechanism
Description
Default to 2h +/- 1h discovery advertisement interval
Test Plan
Verified on a mainnet node