Skip to content
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

Optimizations to connect fast #1008

Merged
merged 1 commit into from
Dec 2, 2019
Merged

Optimizations to connect fast #1008

merged 1 commit into from
Dec 2, 2019

Conversation

asim
Copy link
Member

@asim asim commented Dec 2, 2019

Some ideas to connect faster.

  1. Only send "connect" on startup after there is 1 tunnel link established. Wait for 30 seconds to do this.
  2. When receiving an advert for which we have no peer issue a "solicit" on the peer channel to start the peer broadcast flow to get all the info. It's sub-optimal that routes are re-solicited but its a fast hack when joining in the midst of flow.

@asim asim merged commit 972c098 into master Dec 2, 2019
@asim asim deleted the connect-fast branch December 2, 2019 19:11
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.

1 participant