mirror of
https://github.com/minio/minio.git
synced 2026-02-04 18:00:15 -05:00
add deprecated expiry_workers to be ignored (#19289)
avoids error during upgrades such as
```
API: SYSTEM()
Time: 19:19:22 UTC 03/18/2024
DeploymentID: 24e4b574-b28d-4e94-9bfa-03c363a600c2
Error: Invalid api configuration: found invalid keys (expiry_workers=100 ) for 'api' sub-system, use 'mc admin config reset myminio api' to fix invalid keys (*fmt.wrapError)
11: internal/logger/logger.go:260:logger.LogIf()
...
```
This commit is contained in:
@@ -224,11 +224,6 @@ Examples:
|
||||
"",
|
||||
"MINIO_API_TRANSITION_WORKERS: should be >= GOMAXPROCS/2",
|
||||
)
|
||||
ErrInvalidExpiryWorkersValue = newErrFn(
|
||||
"Invalid value for expiry workers",
|
||||
"",
|
||||
"MINIO_API_EXPIRY_WORKERS: should be between 1 and 500",
|
||||
)
|
||||
ErrInvalidBatchKeyRotationWorkersWait = newErrFn(
|
||||
"Invalid value for batch key rotation workers wait",
|
||||
"Please input a non-negative duration",
|
||||
|
||||
Reference in New Issue
Block a user