Merge pull request #4479 from omnivore-app/jacksonh/export-expiration
Increase timeout on download links
This commit is contained in:
@ -253,7 +253,7 @@ export const exportJob = async (jobData: ExportJobData) => {
|
|||||||
// generate a temporary signed url for the zip file
|
// generate a temporary signed url for the zip file
|
||||||
const [signedUrl] = await file.getSignedUrl({
|
const [signedUrl] = await file.getSignedUrl({
|
||||||
action: 'read',
|
action: 'read',
|
||||||
expires: Date.now() + 86400 * 1000, // 15 minutes
|
expires: Date.now() + 48 * 60 * 60 * 1000, // 24 hours
|
||||||
})
|
})
|
||||||
|
|
||||||
logger.info('signed url for export:', {
|
logger.info('signed url for export:', {
|
||||||
|
|||||||
Reference in New Issue
Block a user