-
Notifications
You must be signed in to change notification settings - Fork 166
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
removing host.Peerstore().ClearAddrs from libp2pNode #1204
Conversation
vishalchangrani
commented
Aug 25, 2021
- adding a test to check no backoffs are added for 1-1 communication
…o check no backoffs are added for 1-1 communication
@@ -359,10 +362,11 @@ func (n *Node) tryCreateNewStream(ctx context.Context, identity flow.Identity, m | |||
default: | |||
} | |||
|
|||
// remove the peer from the peer store if present | |||
n.host.Peerstore().ClearAddrs(peerID) |
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.
confirmed not needed
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.
As discussed in #1184 and
flow-go/network/p2p/libp2pNode.go
Lines 384 to 386 in 31c46bf
// TODO: why were we doing this? Is it okay to remove? | |
// remove the peer from the peer store if present | |
// n.host.Peerstore().ClearAddrs(peerID) |
bors merge |
👎 Rejected by too few approved reviews |
Codecov Report
@@ Coverage Diff @@
## master #1204 +/- ##
=======================================
Coverage 55.71% 55.72%
=======================================
Files 482 482
Lines 29644 29643 -1
=======================================
+ Hits 16517 16519 +2
+ Misses 10864 10862 -2
+ Partials 2263 2262 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
bors merge |
This PR was included in a batch that successfully built, but then failed to merge into master (it was a non-fast-forward update). It will be automatically retried. |