From 8f5bbedc14377a249cb84fa3a289fdd36e964e40 Mon Sep 17 00:00:00 2001 From: MinhxNguyen7 <64875104+MinhxNguyen7@users.noreply.github.com> Date: Fri, 6 Dec 2024 20:51:50 -0800 Subject: [PATCH] feat(cdk): increase lambda timeout to 10 seconds --- 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,