Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 3fff46a

Browse files
vasco-santosAlan Shaw
authored andcommitted
fix: temporarily disable random walk dht discovery (#1907)
1 parent bebce7f commit 3fff46a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
"libp2p": "~0.25.0-rc.3",
130130
"libp2p-bootstrap": "~0.9.3",
131131
"libp2p-crypto": "~0.16.0",
132-
"libp2p-kad-dht": "~0.14.5",
132+
"libp2p-kad-dht": "~0.14.7",
133133
"libp2p-keychain": "~0.3.3",
134134
"libp2p-mdns": "~0.12.0",
135135
"libp2p-mplex": "~0.8.4",

src/core/components/libp2p.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function defaultBundle ({ datastore, peerInfo, peerBook, options, config }) {
7979
kBucketSize: get(options, 'dht.kBucketSize', 20),
8080
enabled: get(options, 'offline', false) ? false : undefined, // disable if offline
8181
randomWalk: {
82-
enabled: get(options, 'dht.randomWalk.enabled', true)
82+
enabled: false // disabled waiting for https://github.com/libp2p/js-libp2p-kad-dht/issues/86
8383
},
8484
validators: {
8585
ipns: ipnsUtils.validator

0 commit comments

Comments
 (0)