Skip to content

Allow queues not to be persisted when unsubscribed #2

@xaviertholot

Description

@xaviertholot

Hello,

I am using https://github.com/cdmbase/graphql-rabbitmq-subscriptions which uses this pubsub, and I noticed that when a client disconnects, the pubsub unsubscribes successfully, but only cleans the consumers, not the queues.

capture d ecran 2018-08-30 a 11 29 30

As seen on the picture above, RabbitMQ queues continue to stack, and it becomes problematic when we have thousands of users.
Is there a way to change this behavior ?

I was thinking about passing a autoDelete: true to the queues when created... But your opinion is very welcomed 😃

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions