1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-06 19:44:01 +08:00

feat(config): expose ProviderSearchMaxResults (#10773)

Replacing hardcoded integer with named default and expose
config option for adjusting it, like we do in Rainbow
https://github.com/ipfs/kubo/pull/10765/files#r2025455848
This commit is contained in:
Marcin Rataj
2025-04-09 21:17:19 +02:00
committed by GitHub
parent ee7fef251c
commit fe3106f9a6
4 changed files with 22 additions and 12 deletions

View File

@ -14,5 +14,6 @@ type InternalBitswap struct {
EngineTaskWorkerCount OptionalInteger
MaxOutstandingBytesPerPeer OptionalInteger
ProviderSearchDelay OptionalDuration
ProviderSearchMaxResults OptionalInteger
WantHaveReplaceSize OptionalInteger
}