diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2013-02-20 20:24:32 +0000 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2013-02-20 20:24:32 +0000 |
| commit | 59ab1fbd1c5d03818e5b8fc44213f62ec05d08ee (patch) | |
| tree | d16cc45000081a9d6f72be46cbeab52ef5d507cd | |
| parent | 20f7d7340f1b28e38c12ba30733e3e53891dfb41 (diff) | |
| download | rabbitmq-server-git-59ab1fbd1c5d03818e5b8fc44213f62ec05d08ee.tar.gz | |
oops
| -rw-r--r-- | src/rabbit_amqqueue_process.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl index c822c2e730..7a16865bd0 100644 --- a/src/rabbit_amqqueue_process.erl +++ b/src/rabbit_amqqueue_process.erl @@ -421,7 +421,7 @@ is_ch_blocked(#cr{unsent_message_count = Count, is_limit_active = Limited}) -> Limited orelse Count >= ?UNSENT_MESSAGE_LIMIT. maybe_send_drained(WasEmpty, State) -> - case WasEmpty andalso is_empty(State) of + case (not WasEmpty) andalso is_empty(State) of true -> [send_drained(C) || C <- all_ch_record()]; false -> ok end. |
