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
refactor: enable DHT by default #1994
Conversation
|
Let me give you a hand on this |
|
What’s eta on this getting merged |
License: MIT Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
License: MIT Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
License: MIT Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
License: MIT Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
License: MIT Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
|
I've pushed up the config changes here and updated the PR comment to include an updated link to the commit of the changes. |
To find all of those comments run: ```console $ grep DHT test -R |grep TODO test/cli/dht.js:// TODO: unskip when DHT is enabled: #1994 test/core/ping.spec.js: // TODO: unskip when DHT is enabled: #1994 test/core/interface.spec.js: reason: 'TODO: unskip when DHT is enabled: #1994' test/core/dht.spec.js:// TODO: unskip when DHT is enabled: #1994 test/core/name.spec.js: // TODO: unskip when DHT is enabled: #1994 test/http-api/inject/dht.js: // TODO: unskip when DHT is enabled: #1994 test/http-api/interface.js: reason: 'TODO: unskip when DHT is enabled: #1994' ```
To find all of those comments run: ```console $ grep DHT test -R |grep TODO test/cli/dht.js:// TODO: unskip when DHT is enabled: #1994 test/core/ping.spec.js: // TODO: unskip when DHT is enabled: #1994 test/core/interface.spec.js: reason: 'TODO: unskip when DHT is enabled: #1994' test/core/dht.spec.js:// TODO: unskip when DHT is enabled: #1994 test/core/name.spec.js: // TODO: unskip when DHT is enabled: #1994 test/http-api/inject/dht.js: // TODO: unskip when DHT is enabled: #1994 test/http-api/interface.js: reason: 'TODO: unskip when DHT is enabled: #1994' ```
|
Hi! js-ipfs master just got a whole new set of automated tests with #2528, #2440 and also running some of the test suites from our early testers (hi5 to @achingbrain for setting it all up!). Would you mind rebasing the master branch on this PR to ensure it runs all the latest tests? Thank you! |
|
@alanshaw what is the latest state on DHT in JS land? PS: Shouldn't this be labeled as P0? |
|
@daviddias the checklist at the top is up to date. I've labelled it p0. |
|
Fixed by #3947 |
Note: also enables
randomWalkand lowers connection manager limits in the browser.Roadmap to getting DHT enabled by default in JS IPFS (TODO create issues/PRs for all of these):