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

fix: routers should only use dht if enabled #885

Merged
merged 1 commit into from
Feb 11, 2021

Conversation

vasco-santos
Copy link
Member

When used from IPFS (and other projects where the DHT module is added to the libp2p config), but the enabled option was turned to false (default), the DHT was being used for content/peer routing queries.

@vasco-santos vasco-santos force-pushed the fix/routers-should-only-use-dht-if-enabled branch from e566283 to a55b58b Compare February 9, 2021 15:46
@vasco-santos vasco-santos force-pushed the fix/routers-should-only-use-dht-if-enabled branch from a55b58b to ad111a1 Compare February 11, 2021 10:32
@vasco-santos vasco-santos merged commit a34d2bb into master Feb 11, 2021
@vasco-santos vasco-santos deleted the fix/routers-should-only-use-dht-if-enabled branch February 11, 2021 13:57
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.

2 participants