Comment 0 for bug 1842914

Revision history for this message
James Hilling (jamesh5979) wrote :

On many occasions, we have to set the following within the application containers for rabbitmq-server:

$ sudo rabbitmqctl set_policy -p openstack $POLICY_NAME '$QUEUE_REGEX' '{"max-length": 99 }' --apply-to queues --priority 1

We do this in order to limit the amount of messages that can exists within a specific queue.

It would be useful if there was a way to set this from the charm parameters.