Update activity feed every hour to decrease cost

This commit is contained in:
James Grugett 2022-05-23 15:29:15 -05:00
parent 0f01753795
commit 2b13b1adb7

View File

@ -42,7 +42,7 @@ const getUserBatches = async () => {
} }
export const updateFeed = functions.pubsub export const updateFeed = functions.pubsub
.schedule('every 15 minutes') .schedule('every 60 minutes')
.onRun(async () => { .onRun(async () => {
const userBatches = await getUserBatches() const userBatches = await getUserBatches()