mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 21:50:22 +03:00
Deprecate and remove configurable disk usage check (#6016)
This commit is contained in:
committed by
kannappanr
parent
eafc15cd47
commit
3143454982
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user