-
Notifications
You must be signed in to change notification settings - Fork 984
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
fix(kad): prevent simultaneous dials to peer #4224
Conversation
b8cc04d
to
527d2a5
Compare
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.
Ready from my end :)
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.
Thank you for bearing with us!
@@ -1,3 +1,10 @@ | |||
## 0.44.3 - unreleased |
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.
## 0.44.3 - unreleased | |
## 0.44.3 |
Adding - unreleased
is the way to go. Thank you. Though in this case I will cut a release right away.
By default, dialing is prevented when already connected. `kad` already checks this manually before doing dials. By changing the condition from `Disconnected` to `NotDialing`, we prevent simultaneous dials to a peer. Pull-Request: #4224.
Description
By default, dialing is prevented when already connected.
kad
already checks this manually before doing dials. By changing the condition fromDisconnected
toNotDialing
, we prevent simultaneous dials to a peer.Notes & open questions
Change checklist