Use US standard S3 region
This commit is contained in:
parent
c635f5d0ea
commit
53ca41ef9f
@ -44,7 +44,7 @@ S3BinaryCacheStore::S3BinaryCacheStore(std::shared_ptr<Store> localStore,
|
|||||||
ref<Aws::Client::ClientConfiguration> S3BinaryCacheStore::makeConfig()
|
ref<Aws::Client::ClientConfiguration> S3BinaryCacheStore::makeConfig()
|
||||||
{
|
{
|
||||||
auto res = make_ref<Aws::Client::ClientConfiguration>();
|
auto res = make_ref<Aws::Client::ClientConfiguration>();
|
||||||
res->region = Aws::Region::EU_WEST_1;
|
res->region = Aws::Region::US_EAST_1;
|
||||||
res->requestTimeoutMs = 600 * 1000;
|
res->requestTimeoutMs = 600 * 1000;
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
@ -66,8 +66,8 @@ void S3BinaryCacheStore::init()
|
|||||||
.WithBucket(bucketName)
|
.WithBucket(bucketName)
|
||||||
.WithCreateBucketConfiguration(
|
.WithCreateBucketConfiguration(
|
||||||
Aws::S3::Model::CreateBucketConfiguration()
|
Aws::S3::Model::CreateBucketConfiguration()
|
||||||
.WithLocationConstraint(
|
/* .WithLocationConstraint(
|
||||||
Aws::S3::Model::BucketLocationConstraint::eu_west_1))));
|
Aws::S3::Model::BucketLocationConstraint::US) */ )));
|
||||||
}
|
}
|
||||||
|
|
||||||
BinaryCacheStore::init();
|
BinaryCacheStore::init();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user