Increase memory of updateMetrics function

This commit is contained in:
James Grugett 2022-09-19 12:04:37 -05:00
parent 55a68d4fec
commit 6f5d69ec9c

View File

@ -22,7 +22,7 @@ import { Group } from 'common/group'
const firestore = admin.firestore()
export const updateMetrics = functions
.runWith({ memory: '2GB', timeoutSeconds: 540 })
.runWith({ memory: '4GB', timeoutSeconds: 540 })
.pubsub.schedule('every 15 minutes')
.onRun(updateMetricsCore)