Freeze the s3 APIs until the notification sub-system initializes completely (#17182)

This commit is contained in:
Praveen raj Mani
2023-05-19 21:14:48 +05:30
committed by GitHub
parent 41fa8fa2d2
commit ecfb18b26a
4 changed files with 29 additions and 11 deletions
+2
View File
@@ -776,6 +776,8 @@ func handleCommonEnvVars() {
} else {
globalActiveCred = auth.DefaultCredentials
}
globalDisableFreezeOnBoot = env.Get("_MINIO_DISABLE_API_FREEZE_ON_BOOT", "") == "true" || serverDebugLog
}
// Initialize KMS global variable after valiadating and loading the configuration.