diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2014-03-25 11:58:41 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2014-03-25 11:58:41 +0000 |
commit | 7dc15081000f8fe30167e3082001542b3e010015 (patch) | |
tree | d5a5e61e1199863f6fdf95fe8a0a8b727492bf1f /src/rabbit_channel.erl | |
parent | 40cf496665c0968e27cee8775183ec221facdd28 (diff) | |
download | rabbitmq-server-7dc15081000f8fe30167e3082001542b3e010015.tar.gz |
Swap the default value for cancel-on-ha-failover.
Diffstat (limited to 'src/rabbit_channel.erl')
-rw-r--r-- | src/rabbit_channel.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index e047db60..e59eca32 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -1284,8 +1284,8 @@ cancel_consumer(CTag, QName, State = #ch{consumer_mapping = CMap}) -> queue_down_consumer_action(CTag, CMap) -> {_, {_, _, _, Args} = ConsumeSpec} = dict:fetch(CTag, CMap), case rabbit_misc:table_lookup(Args, <<"cancel-on-ha-failover">>) of - {bool, false} -> {recover, ConsumeSpec}; - _ -> remove + {bool, true} -> remove; + _ -> {recover, ConsumeSpec} end. handle_delivering_queue_down(QPid, State = #ch{delivering_queues = DQ}) -> |