Skip to content

Commit

Permalink
ipfs: reduce bulk send parallelism param since reprovider is never "r…
Browse files Browse the repository at this point in the history
…eady"
  • Loading branch information
n8maninger committed May 8, 2024
1 parent f3562f3 commit c5d50f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ipfs/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,10 @@ func NewNode(ctx context.Context, privateKey crypto.PrivKey, cfg config.IPFS, rs
dht.Mode(dht.ModeServer),
dht.BootstrapPeers(bootstrapPeers...),
dht.BucketSize(20), // this cannot be changed
dht.Concurrency(60),
dht.Concurrency(40),
dht.Datastore(ds),
}...),
fullrt.WithBulkSendParallelism(256),
fullrt.WithBulkSendParallelism(100),
}

frt, err := fullrt.NewFullRT(host, dht.DefaultPrefix, fullRTOpts...)
Expand Down

0 comments on commit c5d50f0

Please sign in to comment.