mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
This reverts commit eba423bb9d.
Additionally also address the FS crawler to properly
calculate the sizes for encrypted/compressed content.
This commit is contained in:
@@ -55,12 +55,8 @@ const (
|
||||
|
||||
// initDataUsageStats will start the crawler unless disabled.
|
||||
func initDataUsageStats(ctx context.Context, objAPI ObjectLayer) {
|
||||
// data usage stats are only available erasure
|
||||
// coded mode
|
||||
if globalIsXL || globalIsDistXL {
|
||||
if env.Get(envDataUsageCrawlConf, config.EnableOn) == config.EnableOn {
|
||||
go runDataUsageInfo(ctx, objAPI)
|
||||
}
|
||||
if env.Get(envDataUsageCrawlConf, config.EnableOn) == config.EnableOn {
|
||||
go runDataUsageInfo(ctx, objAPI)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user