mirror of
https://github.com/minio/minio.git
synced 2025-11-28 13:09:09 -05:00
expiry: Remove auto-expiry.
Move the logic outside and use scripting, cronjob to delete files. Fixes #1019
This commit is contained in:
@@ -146,9 +146,6 @@ func getNewCloudStorageAPI(conf cloudServerConfig) CloudStorageAPI {
|
||||
fatalIf(err.Trace(), "Initializing filesystem failed.", nil)
|
||||
|
||||
fs.SetMinFreeDisk(conf.MinFreeDisk)
|
||||
if conf.Expiry > 0 {
|
||||
go fs.AutoExpiryThread(conf.Expiry)
|
||||
}
|
||||
return CloudStorageAPI{
|
||||
Filesystem: fs,
|
||||
AccessLog: conf.AccessLog,
|
||||
|
||||
Reference in New Issue
Block a user