diff options
| author | Daniil Fedotov <fedotov.danil@gmail.com> | 2017-07-27 14:36:46 +0100 |
|---|---|---|
| committer | Daniil Fedotov <fedotov.danil@gmail.com> | 2017-07-27 14:36:46 +0100 |
| commit | d43bc0e408d1c2a89df399840e072fc427176c2c (patch) | |
| tree | 58fe4dba8863b02a2c772a3aa09a135006cbab25 /src/truncate.erl | |
| parent | 8e05c4dbf362f61d2e4c12de59ae1e3997f2fcd2 (diff) | |
| download | rabbitmq-server-git-d43bc0e408d1c2a89df399840e072fc427176c2c.tar.gz | |
Do not try to perform a queue operation in `rabbit_amqqueue:with` if the queue is stopped.
The only operation in `with` which can be performed on a stopped queue
is `delete`. It will call `delete_crashed` based on the `{absent, Q, stopped}`
result from `with`.
Diffstat (limited to 'src/truncate.erl')
0 files changed, 0 insertions, 0 deletions
