Skip to content

Commit

Permalink
Merge pull request #67 from guardian/longer-expiry
Browse files Browse the repository at this point in the history
Set s3 expiry time in minutes not seconds
  • Loading branch information
philmcmahon committed Mar 14, 2024
2 parents 2dad33d + 873ee9f commit eeb8366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend-common/src/sqs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ const generateOutputSignedUrls = async (
originalFilename: string,
expiresInDays: number,
): Promise<OutputBucketUrls> => {
const expiresIn = expiresInDays * 24 * 60;
const expiresIn = expiresInDays * 24 * 60 * 60;
const srtKey = `srt/${id}.srt`;
const jsonKey = `json/${id}.json`;
const textKey = `text/${id}.txt`;
Expand Down

0 comments on commit eeb8366

Please sign in to comment.