From a19e7f8c5b49309c2ea4f958176da53b35acda1a Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Tue, 8 Feb 2022 15:24:11 +0200 Subject: [PATCH] lib/blockcache: `make fmt` --- lib/blockcache/blockcache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()