mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +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
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue