mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-19 15:30:17 +00:00
lib/blockcache: make fmt
This commit is contained in:
parent
6e05e3308e
commit
8863339b6b
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ func (c *Cache) cleaner() {
|
||||||
func (c *Cache) cleanByTimeout() {
|
func (c *Cache) cleanByTimeout() {
|
||||||
// Delete items accessed more than five minutes ago.
|
// Delete items accessed more than five minutes ago.
|
||||||
// This time should be enough for repeated queries.
|
// This time should be enough for repeated queries.
|
||||||
lastAccessTime := fasttime.UnixTimestamp()-5*60
|
lastAccessTime := fasttime.UnixTimestamp() - 5*60
|
||||||
c.mu.Lock()
|
c.mu.Lock()
|
||||||
defer c.mu.Unlock()
|
defer c.mu.Unlock()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue