Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantAnxiety committed Dec 20, 2024
1 parent 2bfc2d0 commit 5760e82
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ async def post(self) -> web.StreamResponse:
url = await s3.client.generate_presigned_post(
Bucket=s3.tmp_bucket_name,
Key=s3_key,
ExpiresIn=60 * 60, # 1 hour # TODO config?
ExpiresIn=60 * 60, # 1 hour
Conditions=[
["content-length-range", 1, 200 * 1024 * 1024], # 1B .. 200MB # TODO use constant
["content-length-range", 1, 200 * 1024 * 1024], # 1B .. 200MB # TODO use constant from DataSink
{"Content-MD5": content_md5},
],
)
Expand Down

0 comments on commit 5760e82

Please sign in to comment.