Skip to content

Conversation

karknu
Copy link
Contributor

@karknu karknu commented Mar 26, 2020

Implements #1859 and fixes #1859.

@karknu karknu changed the title Karknu/sub imp Sumbscription Update Mar 26, 2020
@karknu karknu changed the title Sumbscription Update Subscription Update Mar 26, 2020
@karknu karknu marked this pull request as ready for review March 26, 2020 10:51
@karknu karknu requested review from coot and dcoutts March 26, 2020 10:51
karknu added 2 commits March 26, 2020 16:23
When we have reached the valency goal we shouldn't open any extra
connections.
By decreasing the time we wait before trying a new connection from 250ms
to 25ms we make it very likely that the node will end up using a peer on
the same contenent.
Copy link
Contributor

@dcoutts dcoutts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Reports are that this selects the relay on the local continent reasonably well.

@dcoutts
Copy link
Contributor

dcoutts commented Mar 26, 2020

bors merge

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Mar 26, 2020

@iohk-bors iohk-bors bot merged commit 690e825 into master Mar 26, 2020
@iohk-bors iohk-bors bot deleted the karknu/sub_imp branch March 26, 2020 17:06
@dcoutts
Copy link
Contributor

dcoutts commented Mar 26, 2020

Implements #1859 and fixes #1859.

Meant to say Implements #1859 and fixes #1858. Closing #1858...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lower the time we wait before starting a new connection.

2 participants