Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

remove connect timeouts from circuit tests once service discovery is implemented #17

Open
dryajov opened this issue Mar 7, 2018 · 0 comments

Comments

@dryajov
Copy link
Member

dryajov commented Mar 7, 2018

Currently, we're using an async CAN_HOP message sent on peer-mux-established to any incoming peer to identify relay nodes. This is inefficient and requires adding a timeout after a connect sequence to give nodes time to mark a peer as a relay. There are several discussions and proposal to mitigate this, but it fits the theme of service discovery well (e.g. libp2p/specs#32).

This issue is here to document the reason for the timeouts in connect sequences and a reminder to change it as soon as service discovery is here.

screen shot 2018-03-07 at 4 38 12 pm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant