From 6f5d69ec9c466485f1d48bbdf0e7084c261c1a39 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Mon, 19 Sep 2022 12:04:37 -0500 Subject: [PATCH] Increase memory of updateMetrics function --- functions/src/update-metrics.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/src/update-metrics.ts b/functions/src/update-metrics.ts index 1de8056c..99f6ff1d 100644 --- a/functions/src/update-metrics.ts +++ b/functions/src/update-metrics.ts @@ -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)