Skip to content

Commit

Permalink
Update presigned URL expiration to 7 days
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmilliken committed Oct 10, 2024
1 parent a632cec commit d8241ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/HackParserService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit d8241ef

Please sign in to comment.