Update activity feed every hour to decrease cost
This commit is contained in:
parent
0f01753795
commit
2b13b1adb7
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user