Skip to content

Commit

Permalink
ensure 32 bit works
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed Nov 29, 2023
1 parent 4a6cd85 commit e1519e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/badges/simplecache.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (cache *SimpleCache) expireItems() {
count := 10
if len(cache.items) >= cache.maxItems {
lfuKey := ""
lfuLowestCount := math.MaxInt64
lfuLowestCount := math.MaxInt

for k, v := range cache.items {
v.hits--
Expand Down

0 comments on commit e1519e0

Please sign in to comment.