Change the AWS connection timeout from 1 second to 10 seconds

This commit is contained in:
Dan Paulat 2024-01-21 22:29:07 -06:00
parent 401831bbe3
commit 3d93048e61

View file

@ -64,7 +64,8 @@ public:
util::SetEnvironment("AWS_EC2_METADATA_DISABLED", "true");
Aws::Client::ClientConfiguration config;
config.region = region_;
config.region = region_;
config.connectTimeoutMs = 10000;
client_ = std::make_shared<Aws::S3::S3Client>(config);
}