diff --git a/client/cache/random_expired_cache.go b/client/cache/random_expired_cache.go index e69d2dd8..26200112 100644 --- a/client/cache/random_expired_cache.go +++ b/client/cache/random_expired_cache.go @@ -61,7 +61,7 @@ func defaultExpiredFunc() func() time.Duration { const size = 5 var randTimes [size]time.Duration for i := range randTimes { - randTimes[i] = time.Duration(i + 3) + randTimes[i] = time.Duration(i+3) * time.Second } // shuffle values for i := range randTimes {