Skip to content

Commit

Permalink
chore: add more details on DHT configuration in CONFIGURATION.md (#951)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcclure authored Jun 10, 2021
1 parent 2068c84 commit 2959794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/CONFIGURATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ const node = await Libp2p.create({
config: {
dht: { // The DHT options (and defaults) can be found in its documentation
kBucketSize: 20,
enabled: true,
enabled: true, // This flag is required for DHT to run (disabled by default)
randomWalk: {
enabled: true, // Allows to disable discovery (enabled by default)
interval: 300e3,
Expand Down

0 comments on commit 2959794

Please sign in to comment.