Skip to content

Commit

Permalink
Extend timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mdirolf committed Jan 25, 2024
1 parent f88fdc2 commit 589a32e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions functions/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@ export const scheduledFirestoreExport = functions.pubsub
});
});

export const notificationsSend = functions.pubsub
.schedule('every day 16:00')
export const notificationsSend = functions
.runWith({ timeoutSeconds: 540 })
.pubsub.schedule('every day 16:00')
.onRun(async () => {
console.log('queuing emails');
await queueEmails();
Expand Down

0 comments on commit 589a32e

Please sign in to comment.