Fix build index performance downgrade (#24651) (#24708)

Signed-off-by: sunby <bingyi.sun@zilliz.com>
Co-authored-by: sunby <bingyi.sun@zilliz.com>
pull/24922/head
Bingyi Sun 2023-06-19 10:50:47 +08:00 committed by GitHub
parent c9e456c6eb
commit cc56efb134
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -217,7 +217,10 @@ MinioChunkManager::MinioChunkManager(const StorageConfig& storage_config)
InitSDKAPI(storageType);
Aws::Client::ClientConfiguration config;
// The ClientConfiguration default constructor will take a long time.
// For more details, please refer to https://github.com/aws/aws-sdk-cpp/issues/1440
static Aws::Client::ClientConfiguration g_config;
Aws::Client::ClientConfiguration config = g_config;
config.endpointOverride = ConvertToAwsString(storage_config.address);
if (storage_config.useSSL) {