Increase memory of updateMetrics function
This commit is contained in:
parent
55a68d4fec
commit
6f5d69ec9c
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user