Skip to content

Commit

Permalink
increase notification run interval
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonIsAzn committed Sep 9, 2024
1 parent 9c0a91a commit 2a9c44b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/src/pushNotification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export const sendNotificationResumeConfirm = functions.https.onCall(async (data,
});


export const notifyUpcomingEvents = functions.pubsub.schedule('every 5 minutes').onRun(async (context) => {
export const notifyUpcomingEvents = functions.pubsub.schedule('every 30 minutes').onRun(async (context) => {
console.log('Running Event Notification Sent');
const now = new Date();
const oneHourLater = new Date(now.getTime() + 60 * 60 * 1000);
Expand Down

0 comments on commit 2a9c44b

Please sign in to comment.