From 185025ac73493e173be23ea6553bd78d97dc702e Mon Sep 17 00:00:00 2001 From: adueck Date: Sun, 22 Jan 2023 21:10:06 +0500 Subject: [PATCH] allow for longer execution time --- functions/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/src/index.ts b/functions/src/index.ts index acffc06..4d2ff12 100644 --- a/functions/src/index.ts +++ b/functions/src/index.ts @@ -5,7 +5,7 @@ import lingdocsAuth from "./middleware/lingdocs-auth"; import publish from "./publish"; export const publishDictionary = functions.runWith({ - timeoutSeconds: 60, + timeoutSeconds: 500, memory: "2GB" }).https.onRequest( lingdocsAuth( @@ -26,7 +26,7 @@ export const publishDictionary = functions.runWith({ ); export const submissions = functions.runWith({ - timeoutSeconds: 30, + timeoutSeconds: 60, memory: "1GB", }).https.onRequest(lingdocsAuth( async (req, res: functions.Response) => {