Merge pull request #472 from Hestia-Homes/debugging-api

decrease concurrent requests
This commit is contained in:
KhalimCK 2025-07-22 22:59:44 +01:00 committed by GitHub
commit 375b8cb9a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -62,7 +62,6 @@ functions:
timeout: 900
memorySize: 3008
role: EngineLambdaRole
reservedConcurrency: 5
events:
- sqs:
arn: arn:aws:sqs:${self:provider.region}:${aws:accountId}:model-engine-queue
@ -77,6 +76,7 @@ resources:
Properties:
QueueName: model-engine-queue
VisibilityTimeout: 910 # must be >= lambda timeout (900)
maximumConcurrency: 2
FastApiLambdaRole:
Type: AWS::IAM::Role