mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
decrease concurrent requests
This commit is contained in:
parent
79b9914a72
commit
e4e749689a
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,6 @@ functions:
|
||||||
timeout: 900
|
timeout: 900
|
||||||
memorySize: 3008
|
memorySize: 3008
|
||||||
role: EngineLambdaRole
|
role: EngineLambdaRole
|
||||||
reservedConcurrency: 5
|
|
||||||
events:
|
events:
|
||||||
- sqs:
|
- sqs:
|
||||||
arn: arn:aws:sqs:${self:provider.region}:${aws:accountId}:model-engine-queue
|
arn: arn:aws:sqs:${self:provider.region}:${aws:accountId}:model-engine-queue
|
||||||
|
|
@ -77,6 +76,7 @@ resources:
|
||||||
Properties:
|
Properties:
|
||||||
QueueName: model-engine-queue
|
QueueName: model-engine-queue
|
||||||
VisibilityTimeout: 910 # must be >= lambda timeout (900)
|
VisibilityTimeout: 910 # must be >= lambda timeout (900)
|
||||||
|
maximumConcurrency: 2
|
||||||
|
|
||||||
FastApiLambdaRole:
|
FastApiLambdaRole:
|
||||||
Type: AWS::IAM::Role
|
Type: AWS::IAM::Role
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue