Skip to content

Commit

Permalink
Increase lambda timeout to 10 seconds (#1069)
Browse files Browse the repository at this point in the history
  • Loading branch information
MinhxNguyen7 authored Dec 7, 2024
1 parent 0f57bd6 commit 7bee1c2
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 7bee1c2

Please sign in to comment.