summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2012-11-28 14:24:39 +0000
committerSimon MacMullen <simon@rabbitmq.com>2012-11-28 14:24:39 +0000
commit5e106df68b867ec9723565b2347fab9b5c69664d (patch)
treed0d1a15550f62aec561f82cbd0b4ceab37766fd7
parenta0de55fc6513ebdced5c325efb47f1efad9a5e03 (diff)
downloadrabbitmq-server-git-5e106df68b867ec9723565b2347fab9b5c69664d.tar.gz
There is no TRef1.
-rw-r--r--src/rabbit_mirror_queue_sync.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_mirror_queue_sync.erl b/src/rabbit_mirror_queue_sync.erl
index 33c7bccc7c..0fd50e40ca 100644
--- a/src/rabbit_mirror_queue_sync.erl
+++ b/src/rabbit_mirror_queue_sync.erl
@@ -173,8 +173,8 @@ slave_sync_loop(Args = {Ref, MRef, Syncer, BQ, UpdateRamDuration}, TRef, BQS) ->
BQS1 = BQ:set_ram_duration_target(Duration, BQS),
slave_sync_loop(Args, TRef, BQS1);
update_ram_duration ->
- {TRef2, BQS1} = UpdateRamDuration(BQ, BQS),
- slave_sync_loop(Args, TRef2, BQS1);
+ {TRef1, BQS1} = UpdateRamDuration(BQ, BQS),
+ slave_sync_loop(Args, TRef1, BQS1);
{sync_msg, Ref, Msg, Props} ->
credit_flow:ack(Syncer, ?CREDIT_DISC_BOUND),
Props1 = Props#message_properties{needs_confirming = false},