Skip to content

Commit

Permalink
Use regional s3 endpoint in us-east-1 region
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorjerse committed Dec 9, 2024
1 parent 6ab94e3 commit 34c50f8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
15 changes: 15 additions & 0 deletions docs/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@ All notable changes to this project are documented in this file.
This project adheres to `Semantic Versioning <http://semver.org/>`_.


==========
Unreleased
==========

Added
-----

Changed
-------
- Use regional ``S3`` endpoint in ``us-east-1`` region

Fixed
-----


===================
42.0.2 - 2024-12-02
===================
Expand Down
4 changes: 3 additions & 1 deletion resolwe/storage/connectors/s3connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ def _initialize(self):
self.client = self.session.client(
"s3",
config=botocore.client.Config(
signature_version="s3v4", max_pool_connections=50
signature_version="s3v4",
max_pool_connections=50,
s3={"us_east_1_regional_endpoint": "regional"},
),
)

Expand Down

0 comments on commit 34c50f8

Please sign in to comment.