Skip to content

Commit

Permalink
feat(cdk): increase lambda timeout to 10 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
MinhxNguyen7 committed Dec 7, 2024
1 parent 0f57bd6 commit 8f5bbed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/cdk/src/stacks/backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8f5bbed

Please sign in to comment.