diff --git a/src/braingeneers/utils/s3wrangler/__init__.py b/src/braingeneers/utils/s3wrangler/__init__.py index 6643412..9dcf062 100644 --- a/src/braingeneers/utils/s3wrangler/__init__.py +++ b/src/braingeneers/utils/s3wrangler/__init__.py @@ -11,6 +11,11 @@ from awswrangler import config from awswrangler.s3 import * import braingeneers +import botocore +awswrangler.config.botocore_config = botocore.config.Config( + retries={"max_attempts": 10}, + connect_timeout=20, + max_pool_connections=50) braingeneers.set_default_endpoint()