diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cd5c66ae..60d2de41d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,8 @@ The following emojis are used to highlight certain changes: ### Changed +- `ipns`: The `DefaultRecordTTL` changed from `1h` to `5m` [#859](https://github.com/ipfs/boxo/pull/859) + ### Removed ### Fixed diff --git a/ipns/defaults.go b/ipns/defaults.go index c2179e61e..15b27a121 100644 --- a/ipns/defaults.go +++ b/ipns/defaults.go @@ -13,5 +13,5 @@ const ( // cache before checking for update again. The function of this TTL is // similar to TTL of DNS record, and the default here is a trade-off // between faster updates and benefiting from various types of caching. - DefaultRecordTTL = 1 * time.Hour + DefaultRecordTTL = 5 * time.Minute )