diff --git a/cmd/frostfs-node/cache.go b/cmd/frostfs-node/cache.go index 713eaf02..b0deca1c 100644 --- a/cmd/frostfs-node/cache.go +++ b/cmd/frostfs-node/cache.go @@ -294,6 +294,10 @@ func (s *ttlContainerLister) update(owner user.ID, cnr cid.ID, add bool) { return } + if s.ttl <= time.Since(val.t) { + return + } + item := val.v item.mtx.Lock()