mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
fix: update metacache entry only once (#16072)
This commit is contained in:
parent
853c4de75a
commit
8441a3bf5f
@ -155,9 +155,6 @@ func (z *erasureServerPools) listPath(ctx context.Context, o *listPathOptions) (
|
||||
return
|
||||
case <-t.C:
|
||||
meta.lastHandout = time.Now()
|
||||
if rpc == nil {
|
||||
meta, _ = localMetacacheMgr.updateCacheEntry(meta)
|
||||
}
|
||||
meta, _ = rpc.UpdateMetacacheListing(ctx, meta)
|
||||
}
|
||||
}(*c)
|
||||
|
Loading…
Reference in New Issue
Block a user