Skip to content

Commit

Permalink
chore(ipns): lower DefaultRecordTTL to 5m
Browse files Browse the repository at this point in the history
See rationale in ipfs/kubo#10718
  • Loading branch information
lidel committed Feb 26, 2025
1 parent 83f1b59 commit 406881a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ipns/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

0 comments on commit 406881a

Please sign in to comment.