Skip to content

Commit

Permalink
fix: bump lambda memory size to 512mb (#319)
Browse files Browse the repository at this point in the history
bump lambda memory size to 512mb
  • Loading branch information
ConjunctiveNormalForm authored Sep 8, 2023
1 parent b4d5646 commit 55d5ea7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/stacks/lambda-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export class LambdaStack extends cdk.NestedStack {
runtime: aws_lambda.Runtime.NODEJS_18_X,
entry: path.join(__dirname, '../../lib/handlers/index.ts'),
handler: 'orderNotificationHandler',
memorySize: 256,
memorySize: 512,
timeout: Duration.seconds(29),
bundling: {
minify: true,
Expand Down Expand Up @@ -152,7 +152,7 @@ export class LambdaStack extends cdk.NestedStack {
runtime: aws_lambda.Runtime.NODEJS_18_X,
entry: path.join(__dirname, '../../lib/handlers/index.ts'),
handler: 'getNonceHandler',
memorySize: 256,
memorySize: 512,
timeout: Duration.seconds(29),
bundling: {
minify: true,
Expand Down

0 comments on commit 55d5ea7

Please sign in to comment.