Deprecate and remove configurable disk usage check (#6016)

This commit is contained in:
Harshavardhana
2018-06-05 18:53:44 -07:00
committed by kannappanr
parent eafc15cd47
commit 3143454982
8 changed files with 2 additions and 113 deletions
-9
View File
@@ -153,15 +153,6 @@ func handleCommonEnvVars() {
globalCacheExpiry = expiry
}
if intervalStr := os.Getenv("MINIO_USAGE_CHECK_INTERVAL"); intervalStr != "" {
interval, err := parseDuration(intervalStr)
if err != nil {
logger.Fatal(uiErrInvalidUsageCheckIntervalValue(err), "Invalid MINIO_USAGE_CHECK_INTERVAL value (`%s`)", intervalStr)
}
globalUsageCheckInterval = interval
globalIsEnvUsageCheck = true
}
// In place update is true by default if the MINIO_UPDATE is not set
// or is not set to 'off', if MINIO_UPDATE is set to 'off' then
// in-place update is off.