From b4e09e37b1d8afacddbc5007014192979ca113c5 Mon Sep 17 00:00:00 2001 From: Marshall Polaris Date: Fri, 24 Jun 2022 00:18:08 -0700 Subject: [PATCH] Bump memory on all v2 functions to 2GB (#577) * Bump memory on all v2 functions to 2GB * Also give the v2 functions 1 vCPU * Also explicitly specify concurrency --- functions/src/api.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/functions/src/api.ts b/functions/src/api.ts index abbf952b..f7efab5a 100644 --- a/functions/src/api.ts +++ b/functions/src/api.ts @@ -110,6 +110,9 @@ export const validate = (schema: T, val: unknown) => { const DEFAULT_OPTS: HttpsOptions = { minInstances: 1, + concurrency: 100, + memory: '2GiB', + cpu: 1, cors: [CORS_ORIGIN_MANIFOLD, CORS_ORIGIN_LOCALHOST], }