Skip to content

Commit

Permalink
Merge pull request #4479 from omnivore-app/jacksonh/export-expiration
Browse files Browse the repository at this point in the history
Increase timeout on download links
  • Loading branch information
jacksonh authored Nov 1, 2024
2 parents fc38248 + f76f8c6 commit 44f0018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/jobs/export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export const exportJob = async (jobData: ExportJobData) => {
// generate a temporary signed url for the zip file
const [signedUrl] = await file.getSignedUrl({
action: 'read',
expires: Date.now() + 86400 * 1000, // 15 minutes
expires: Date.now() + 48 * 60 * 60 * 1000, // 24 hours
})

logger.info('signed url for export:', {
Expand Down

0 comments on commit 44f0018

Please sign in to comment.