From 9645dc7fb07d8d40b8f3eec3a3a37a61857aef62 Mon Sep 17 00:00:00 2001 From: machichima Date: Thu, 23 Jan 2025 23:01:12 +0800 Subject: [PATCH] fix: update obstore client_options Signed-off-by: machichima --- flytekit/core/data_persistence.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/flytekit/core/data_persistence.py b/flytekit/core/data_persistence.py index 4717a0244f..19d08d19f9 100644 --- a/flytekit/core/data_persistence.py +++ b/flytekit/core/data_persistence.py @@ -71,10 +71,9 @@ def s3store_from_env(bucket: str, retries: int, backoff: timedelta, **store_kwar bucket, config={ **store_kwargs, - "aws_allow_http": "true", # Allow HTTP connections "aws_virtual_hosted_style_request": "false", # Use path-style addressing }, - client_options={"timeout": "999999s"}, # need to put this to somewhere for user to config? + client_options={"timeout": "99999s", "allow_http": "true"}, retry_config={ "max_retries": retries, "backoff": {