From cff9c792406280c94db89bb5752ac1885849c04f Mon Sep 17 00:00:00 2001 From: Mike H Date: Thu, 12 Dec 2024 15:05:27 -0500 Subject: [PATCH] [Issue #3095] Update presigned S3 URLs to last 2 hours (#3201) ## Summary Fixes #3095 ### Time to review: 5 mins ## Changes proposed Update timeout period (in seconds) --- api/src/adapters/aws/s3_adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/adapters/aws/s3_adapter.py b/api/src/adapters/aws/s3_adapter.py index 4c8c3771e..83f6273bf 100644 --- a/api/src/adapters/aws/s3_adapter.py +++ b/api/src/adapters/aws/s3_adapter.py @@ -9,7 +9,7 @@ class S3Config(PydanticBaseEnvConfig): # We should generally not need to set this except # locally to use localstack s3_endpoint_url: str | None = None - presigned_s3_duration: int = 1800 + presigned_s3_duration: int = 7200 # 2 hours in seconds ### S3 Buckets # note that we default these to None