Move diff from nspcc master and support branches #28
1 changed files with 4 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue