Skip to content

Commit

Permalink
[Issue #3095] Update presigned S3 URLs to last 2 hours (#3201)
Browse files Browse the repository at this point in the history
## Summary
Fixes #3095

### Time to review: 5 mins

## Changes proposed
Update timeout period (in seconds)
  • Loading branch information
mikehgrantsgov authored Dec 12, 2024
1 parent 5f8810b commit cff9c79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/adapters/aws/s3_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cff9c79

Please sign in to comment.