From fa8e0db04dd646682c30b43bcda82bb7aa4b3c86 Mon Sep 17 00:00:00 2001 From: Christos Gkolias Date: Mon, 5 Feb 2024 16:15:46 +0200 Subject: [PATCH] add x10 --- bin/stacks/api-stack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/stacks/api-stack.ts b/bin/stacks/api-stack.ts index 0c05b45b..646951f7 100644 --- a/bin/stacks/api-stack.ts +++ b/bin/stacks/api-stack.ts @@ -332,7 +332,7 @@ export class APIStack extends cdk.Stack { if (provisionedConcurrency > 0) { const quoteTarget = new aws_asg.ScalableTarget(this, 'QuoteProvConcASG', { serviceNamespace: aws_asg.ServiceNamespace.LAMBDA, - maxCapacity: provisionedConcurrency * 5, + maxCapacity: provisionedConcurrency * 10, minCapacity: provisionedConcurrency, resourceId: `function:${quoteLambdaAlias.lambda.functionName}:${quoteLambdaAlias.aliasName}`, scalableDimension: 'lambda:function:ProvisionedConcurrency',