bbc / sqs-consumer

Build Amazon Simple Queue Service (SQS) based applications without the boilerplate
https://bbc.github.io/sqs-consumer/
Other
1.71k stars 330 forks source link

feat: extending the update api to update batchsize and waittimeseconds #395

Closed nicholasgriffintn closed 1 year ago

nicholasgriffintn commented 1 year ago

Resolves #396

This extends the update api further by allowing our users to also update the batchSize and waitTimeSeconds programatically, like we allowed for visibilityTimeout previously.

This uses the same API as what we previously added, just adds more available options and methods for those options.

codeclimate[bot] commented 1 year ago

Code Climate has analyzed commit d1121f48 and detected 2 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 2

The test coverage on the diff in this pull request is 96.1% (80% is the threshold).

This pull request will bring the total coverage in the repository to 95.0% (-0.2% change).

View more on Code Climate.