mirror of
https://github.com/minio/minio.git
synced 2025-11-20 01:50:24 -05:00
allow background IAM load to speed up startup (#9796)
Also fix healthcheck handler to run success only if object layer has initialized fully for S3 API access call.
This commit is contained in:
@@ -274,7 +274,7 @@ func StartGateway(ctx *cli.Context, gw Gateway) {
|
||||
|
||||
if enableIAMOps {
|
||||
// Initialize IAM sys.
|
||||
logger.FatalIf(globalIAMSys.Init(GlobalContext, newObject), "Unable to initialize IAM system")
|
||||
startBackgroundIAMLoad(GlobalContext)
|
||||
}
|
||||
|
||||
if globalCacheConfig.Enabled {
|
||||
|
||||
Reference in New Issue
Block a user