From 7bee1c21586579e6f7c4ca5658b1b0f96c20a653 Mon Sep 17 00:00:00 2001 From: Minh Nguyen <64875104+MinhxNguyen7@users.noreply.github.com> Date: Fri, 6 Dec 2024 21:09:15 -0800 Subject: [PATCH] Increase lambda timeout to 10 seconds (#1069) --- apps/cdk/src/stacks/backend.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/cdk/src/stacks/backend.ts b/apps/cdk/src/stacks/backend.ts index e0d4590aa..feabf4a1e 100644 --- a/apps/cdk/src/stacks/backend.ts +++ b/apps/cdk/src/stacks/backend.ts @@ -53,7 +53,7 @@ export class BackendStack extends Stack { runtime: lambda.Runtime.NODEJS_18_X, code: lambda.Code.fromAsset('../backend/dist'), handler: 'lambda.handler', - timeout: Duration.seconds(5), + timeout: Duration.seconds(10), memorySize: 256, environment: { ...env,