Closed htxiong closed 1 year ago
That is 100% a good idea, thanks for opening this!
I'm wondering if maximumConcurrency
shouldn't go one indentation lower, not in the worker
but on the "queue" configuration itself, what do you think?
Yaaas, I will work on a PR.
@mnapoli can you review this PR for me? https://github.com/getlift/lift/pull/299
Released in 1.25.0
Use-case description
12 Jan 2023 AWS introduced maximum concurrency of AWS Lambda functions when using Amazon SQS as an event source (see release announcement here and compute blog from AWS)
And Serverless started to support it around 3 weeks. PR
I suggest we should define max concurrency in Lift.
Example Config
Implementation Idea
Add the configuration for
maximumConcurrency
and modify Queue.ts. ( e.g. after this line)