summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2012-11-28 14:23:33 +0000
committerSimon MacMullen <simon@rabbitmq.com>2012-11-28 14:23:33 +0000
commita0de55fc6513ebdced5c325efb47f1efad9a5e03 (patch)
treeb39718f2aaa3f6a1326545dafa838cbdaf017d55
parent5caf83928ae3c3a047297104cf454fd8bf6a26ac (diff)
downloadrabbitmq-server-git-a0de55fc6513ebdced5c325efb47f1efad9a5e03.tar.gz
Unshorten name.
-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 6626ee2ebc..33c7bccc7c 100644
--- a/src/rabbit_mirror_queue_sync.erl
+++ b/src/rabbit_mirror_queue_sync.erl
@@ -147,7 +147,7 @@ slave(Ref, TRef, Syncer, BQ, BQS, UpdateRamDuration) ->
{_MsgCount, BQS1} = BQ:purge(BQS),
slave_sync_loop({Ref, MRef, Syncer, BQ, UpdateRamDuration}, TRef, BQS1).
-slave_sync_loop(Args = {Ref, MRef, Syncer, BQ, UpdateRamDur}, TRef, BQS) ->
+slave_sync_loop(Args = {Ref, MRef, Syncer, BQ, UpdateRamDuration}, TRef, BQS) ->
receive
{'DOWN', MRef, process, Syncer, _Reason} ->
%% If the master dies half way we are not in the usual
@@ -173,7 +173,7 @@ slave_sync_loop(Args = {Ref, MRef, Syncer, BQ, UpdateRamDur}, TRef, BQS) ->
BQS1 = BQ:set_ram_duration_target(Duration, BQS),
slave_sync_loop(Args, TRef, BQS1);
update_ram_duration ->
- {TRef2, BQS1} = UpdateRamDur(BQ, BQS),
+ {TRef2, BQS1} = UpdateRamDuration(BQ, BQS),
slave_sync_loop(Args, TRef2, BQS1);
{sync_msg, Ref, Msg, Props} ->
credit_flow:ack(Syncer, ?CREDIT_DISC_BOUND),