mirror of
https://github.com/minio/minio.git
synced 2025-03-19 20:14:16 -04:00
erasure: Reduce the interval of cleaning up .trash folder (#11741)
Reduce from 30 to 10 minutes.
This commit is contained in:
parent
2f29719e6b
commit
57f3ed22d4
@ -421,7 +421,7 @@ func newErasureSets(ctx context.Context, endpoints Endpoints, storageDisks []Sto
|
||||
}
|
||||
|
||||
// cleanup ".trash/" folder every 30 minutes with sufficient sleep cycles.
|
||||
const deletedObjectsCleanupInterval = 30 * time.Minute
|
||||
const deletedObjectsCleanupInterval = 10 * time.Minute
|
||||
|
||||
// start cleanup stale uploads go-routine.
|
||||
go s.cleanupStaleUploads(ctx, GlobalStaleUploadsCleanupInterval, GlobalStaleUploadsExpiry)
|
||||
|
Loading…
x
Reference in New Issue
Block a user