mirror of
https://github.com/minio/minio.git
synced 2025-11-10 05:59:43 -05:00
ListMultipartUploads, ListObjectParts return empty response (#4694)
Also, periodically removes incomplete multipart uploads older than 2 weeks.
This commit is contained in:
committed by
Dee Koder
parent
0aca2ab970
commit
75c43bfb6c
@@ -157,6 +157,9 @@ func newFSObjectLayer(fsPath string) (ObjectLayer, error) {
|
||||
return nil, fmt.Errorf("Unable to initialize event notification. %s", err)
|
||||
}
|
||||
|
||||
// Start background process to cleanup old files in minio.sys.tmp
|
||||
go fs.cleanupStaleMultipartUploads()
|
||||
|
||||
// Return successfully initialized object layer.
|
||||
return fs, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user