We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a6cd85 commit e1519e0Copy full SHA for e1519e0
cmd/badges/simplecache.go
@@ -87,7 +87,7 @@ func (cache *SimpleCache) expireItems() {
87
count := 10
88
if len(cache.items) >= cache.maxItems {
89
lfuKey := ""
90
- lfuLowestCount := math.MaxInt64
+ lfuLowestCount := math.MaxInt
91
92
for k, v := range cache.items {
93
v.hits--
0 commit comments