From c5d50f011dd748281159fd9ca955dd5134f11ac4 Mon Sep 17 00:00:00 2001 From: Nate Maninger Date: Wed, 8 May 2024 07:30:04 -0700 Subject: [PATCH] ipfs: reduce bulk send parallelism param since reprovider is never "ready" --- ipfs/node.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipfs/node.go b/ipfs/node.go index cd66c51..f4983ea 100644 --- a/ipfs/node.go +++ b/ipfs/node.go @@ -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...)