diff --git a/lib/blockcache/blockcache.go b/lib/blockcache/blockcache.go index 62c479a85..4e829cdec 100644 --- a/lib/blockcache/blockcache.go +++ b/lib/blockcache/blockcache.go @@ -111,7 +111,7 @@ func (c *Cache) cleaner() { func (c *Cache) cleanByTimeout() { // Delete items accessed more than five minutes ago. // This time should be enough for repeated queries. - lastAccessTime := fasttime.UnixTimestamp()-5*60 + lastAccessTime := fasttime.UnixTimestamp() - 5*60 c.mu.Lock() defer c.mu.Unlock()