Skip to content

Commit

Permalink
Fix #609 for real (#613)
Browse files Browse the repository at this point in the history
  • Loading branch information
duogenesis authored Jan 18, 2025
1 parent 315b2d7 commit db6cda0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions service/cron/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ async def delete_audio_from_object_store(
endpoint_url=BOTO_ENDPOINT_URL,
aws_access_key_id=R2_ACCESS_KEY_ID,
aws_secret_access_key=R2_ACCESS_KEY_SECRET,
config=Config(
request_checksum_calculation='WHEN_REQUIRED',
response_checksum_validation='WHEN_REQUIRED',
),
)

for chunk in chunks:
Expand Down Expand Up @@ -168,6 +172,10 @@ async def download_450_images(
endpoint_url=BOTO_ENDPOINT_URL,
aws_access_key_id=R2_ACCESS_KEY_ID,
aws_secret_access_key=R2_ACCESS_KEY_SECRET,
config=Config(
request_checksum_calculation='WHEN_REQUIRED',
response_checksum_validation='WHEN_REQUIRED',
),
)

def download_one(uuid):
Expand Down

0 comments on commit db6cda0

Please sign in to comment.