You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/node/bitswap.go
+6-3
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ const (
28
28
DefaultEngineTaskWorkerCount=8
29
29
DefaultMaxOutstandingBytesPerPeer=1<<20
30
30
DefaultProviderSearchDelay=1000*time.Millisecond
31
+
DefaultMaxProviders=10// matching BitswapClientDefaultMaxProviders from https://github.com/ipfs/boxo/blob/v0.29.1/bitswap/internal/defaults/defaults.go#L15
-[`Internal.Bitswap.ProviderSearchMaxResults`](https://github.com/ipfs/kubo/blob/master/docs/config.md##internalbitswapprovidersearchmaxresults) for adjusting the maximum number of providers bitswap client should aim at before it stops searching for new ones.
37
+
-[`Routing.IgnoreProviders`](https://github.com/ipfs/kubo/blob/master/docs/config.md#routingignoreproviders) allows ignoring specific peer IDs when returned by the content routing system as providers of content.
0 commit comments