celery / kombu

Messaging library for Python.
http://kombu.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
2.88k stars 928 forks source link

Support changing visibility timeout after SQS queue creation #1492

Open ipmb opened 2 years ago

ipmb commented 2 years ago

It's my understanding that defining a visibility timeout is only applied during SQS queue creation. This is described in https://github.com/celery/celery/pull/7234

As a user, it is unexpected behavior that once a queue exists, whatever value you set for a visibility timeout is silently ignored.

The receive_message method on the SQS client supports a VisibilityTimeout argument that can be used to override whatever was set as the default for the queue during creation.

It would be nice if this was used so the setting is always respected.

open-collective-bot[bot] commented 2 years ago

Hey @ipmb :wave:, Thank you for opening an issue. We will get back to you as soon as we can. Also, check out our Open Collective and consider backing us - every little helps!

We also offer priority support for our sponsors. If you require immediate assistance please consider sponsoring us.

auvipy commented 2 years ago

@browniebroke