diff options
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, |