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
This commit is contained in:
Marshall Polaris 2022-06-24 00:18:08 -07:00 committed by GitHub
parent db3c65a974
commit b4e09e37b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,6 +110,9 @@ export const validate = <T extends z.ZodTypeAny>(schema: T, val: unknown) => {
const DEFAULT_OPTS: HttpsOptions = { const DEFAULT_OPTS: HttpsOptions = {
minInstances: 1, minInstances: 1,
concurrency: 100,
memory: '2GiB',
cpu: 1,
cors: [CORS_ORIGIN_MANIFOLD, CORS_ORIGIN_LOCALHOST], cors: [CORS_ORIGIN_MANIFOLD, CORS_ORIGIN_LOCALHOST],
} }