Increase memory for updateStats function

This commit is contained in:
James Grugett 2022-08-24 22:50:52 -05:00
parent cffd5dcd31
commit 51380febd4

View File

@ -311,6 +311,6 @@ export const updateStatsCore = async () => {
} }
export const updateStats = functions export const updateStats = functions
.runWith({ memory: '1GB', timeoutSeconds: 540 }) .runWith({ memory: '2GB', timeoutSeconds: 540 })
.pubsub.schedule('every 60 minutes') .pubsub.schedule('every 60 minutes')
.onRun(updateStatsCore) .onRun(updateStatsCore)