diff --git a/CHANGELOG.md b/CHANGELOG.md index cc639bbdd..490b0d6fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,7 +20,7 @@ The following emojis are used to highlight certain changes: ### Changed -- `DontHaveTimeoutConfig`'s default `MinTimeout` is changed from `0` to `25ms`. +- `DontHaveTimeoutConfig`'s default `MinTimeout` is changed from `0` to `50ms` [#959](https://github.com/ipfs/boxo/pull/959) [#965](https://github.com/ipfs/boxo/pull/965). - upgrade to `go-libp2p` [v0.42.0](https://github.com/libp2p/go-libp2p/releases/tag/v0.42.0) ### Removed diff --git a/bitswap/client/internal/messagequeue/donthavetimeoutmgr.go b/bitswap/client/internal/messagequeue/donthavetimeoutmgr.go index 40493ae93..a91e69329 100644 --- a/bitswap/client/internal/messagequeue/donthavetimeoutmgr.go +++ b/bitswap/client/internal/messagequeue/donthavetimeoutmgr.go @@ -50,7 +50,7 @@ type DontHaveTimeoutConfig struct { func DefaultDontHaveTimeoutConfig() *DontHaveTimeoutConfig { cfg := DontHaveTimeoutConfig{ DontHaveTimeout: 5 * time.Second, - MinTimeout: 25 * time.Millisecond, + MinTimeout: 50 * time.Millisecond, MaxExpectedWantProcessTime: 2 * time.Second, PingLatencyMultiplier: 3, MessageLatencyAlpha: 0.5,