Skip to content

Commit

Permalink
ipfs: fix bucket size
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed May 8, 2024
1 parent 68a1468 commit f3562f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipfs/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ func NewNode(ctx context.Context, privateKey crypto.PrivKey, cfg config.IPFS, rs
fullrt.DHTOption([]dht.Option{
dht.Mode(dht.ModeServer),
dht.BootstrapPeers(bootstrapPeers...),
dht.BucketSize(40),
dht.BucketSize(20), // this cannot be changed
dht.Concurrency(60),
dht.Datastore(ds),
}...),
Expand Down

0 comments on commit f3562f3

Please sign in to comment.