Skip to content

Commit

Permalink
feat(api): reduce backup frequency to daily
Browse files Browse the repository at this point in the history
  • Loading branch information
th0rgall committed Jan 26, 2024
1 parent d02f0de commit 3a9bc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ exports.notifyOnChat = usCentral1.firestore
.onCreate(onMessageCreate);

// Scheduled tasks
exports.scheduledFirestoreBackup = functions.pubsub.schedule('every 6 hours').onRun(doBackup);
exports.scheduledFirestoreBackup = functions.pubsub.schedule('every day 03:30').onRun(doBackup);
exports.cancelUnpaidRenewals = functions.pubsub.schedule('every hour').onRun(cancelUnpaidRenewals);

// Only for testing the above cancellation function!
Expand Down

0 comments on commit 3a9bc76

Please sign in to comment.