diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2012-11-28 14:24:39 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2012-11-28 14:24:39 +0000 |
| commit | 5e106df68b867ec9723565b2347fab9b5c69664d (patch) | |
| tree | d0d1a15550f62aec561f82cbd0b4ceab37766fd7 | |
| parent | a0de55fc6513ebdced5c325efb47f1efad9a5e03 (diff) | |
| download | rabbitmq-server-git-5e106df68b867ec9723565b2347fab9b5c69664d.tar.gz | |
There is no TRef1.
| -rw-r--r-- | src/rabbit_mirror_queue_sync.erl | 4 |
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}, |
