diff options
author | Runxi Yu <me@runxiyu.org> | 2025-04-03 16:07:41 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-04-03 16:07:41 +0800 |
commit | b8f51b14f28a9fe09f30fb41d140a093c20d7160 (patch) | |
tree | 6a91b4c1b952114b7694b978f7ce0b9924d2d669 /cache_index_commits_display.go | |
parent | HTTP: Make README rendering more composable (diff) | |
download | forge-b8f51b14f28a9fe09f30fb41d140a093c20d7160.tar.gz forge-b8f51b14f28a9fe09f30fb41d140a093c20d7160.tar.zst forge-b8f51b14f28a9fe09f30fb41d140a093c20d7160.zip |
Rename commitDisplay to commitDisplayOld
Diffstat (limited to 'cache_index_commits_display.go')
-rw-r--r-- | cache_index_commits_display.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cache_index_commits_display.go b/cache_index_commits_display.go index fc28cf1..54b3eab 100644 --- a/cache_index_commits_display.go +++ b/cache_index_commits_display.go @@ -9,11 +9,11 @@ import ( ) // The key is the commit ID raw hash. -var indexCommitsDisplayCache *ristretto.Cache[[]byte, []commitDisplay] +var indexCommitsDisplayCache *ristretto.Cache[[]byte, []commitDisplayOld] func init() { var err error - indexCommitsDisplayCache, err = ristretto.NewCache(&ristretto.Config[[]byte, []commitDisplay]{ + indexCommitsDisplayCache, err = ristretto.NewCache(&ristretto.Config[[]byte, []commitDisplayOld]{ NumCounters: 1e4, MaxCost: 1 << 60, BufferItems: 8192, |