lib/blockcache: make fmt

This commit is contained in:
Aliaksandr Valialkin 2022-02-08 15:24:11 +02:00
parent de26d1ff23
commit a19e7f8c5b
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -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()