jegesh / python-sqs-listener

A simple wrapper for boto3 for listening, and sending, to an AWS SQS queue
Other
154 stars 72 forks source link

Filter for queue in request instead of after. #18

Closed vecchp closed 6 years ago

vecchp commented 6 years ago

When we have more than 1000 queues in an AWS account, list_queues does not paginate. This means that a queue can be deemed to not exist if it isn't part of the first page. Instead of iterating over every queue w/ pagination we can just query the prefix and then look at that returned items that match.

e271828- commented 6 years ago

@jegesh looks good to me.