From e27b1006fdb6adc0ff2f25e757c8d3556012b0d4 Mon Sep 17 00:00:00 2001 From: Joseph Milliken Date: Thu, 10 Oct 2024 08:27:56 -0500 Subject: [PATCH] Update presigned URL expiration to 7 days --- src/services/HackParserService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/HackParserService.ts b/src/services/HackParserService.ts index 899454d4..256580d0 100644 --- a/src/services/HackParserService.ts +++ b/src/services/HackParserService.ts @@ -8,10 +8,10 @@ export function HackParserIntegrationEnabled() { } /** - * Generates a presigned URL for a HackParser S3 object; lasts for 2 days + * Generates a presigned URL for a HackParser S3 object; lasts for 7 days */ export function generateHackParserPresignedURL(key: string) { - return generateS3PresignedUrl(process.env.HACK_PARSER_BUCKET_NAME!, key, 3600 * 24 * 2); + return generateS3PresignedUrl(process.env.HACK_PARSER_BUCKET_NAME!, key, 3600 * 24 * 7); } /**