From 53ca41ef9f200248fafa171fb429b9e5028495a7 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 26 Feb 2016 20:57:47 +0100 Subject: [PATCH] Use US standard S3 region --- src/hydra-queue-runner/s3-binary-cache-store.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hydra-queue-runner/s3-binary-cache-store.cc b/src/hydra-queue-runner/s3-binary-cache-store.cc index 4a78033a..4484d2af 100644 --- a/src/hydra-queue-runner/s3-binary-cache-store.cc +++ b/src/hydra-queue-runner/s3-binary-cache-store.cc @@ -44,7 +44,7 @@ S3BinaryCacheStore::S3BinaryCacheStore(std::shared_ptr localStore, ref S3BinaryCacheStore::makeConfig() { auto res = make_ref(); - res->region = Aws::Region::EU_WEST_1; + res->region = Aws::Region::US_EAST_1; res->requestTimeoutMs = 600 * 1000; return res; } @@ -66,8 +66,8 @@ void S3BinaryCacheStore::init() .WithBucket(bucketName) .WithCreateBucketConfiguration( Aws::S3::Model::CreateBucketConfiguration() - .WithLocationConstraint( - Aws::S3::Model::BucketLocationConstraint::eu_west_1)))); + /* .WithLocationConstraint( + Aws::S3::Model::BucketLocationConstraint::US) */ ))); } BinaryCacheStore::init();