Remove result queue from rabbitmq using celery

I run a celery tornado and use the rabbit as a broker, and I am fulfilling the same problem already sent to the SO question: 14636534 , but the accepted answer does not meet my needs.

I want to find a way to delete the result queue after completing the task (I need results). I have it auto_delete, but it’s x-expiresinstalled for a reasonable short time, but what happens is that the queue is never deleted until the signed client is deleted (actually shutting down the application).

I think I'm closed to a solution, and what I'm looking for is a way to tell celery, getting the result, to "unsubscribe" from this queue. Am I right? If so, how can I do this?

+3
source share

All Articles