summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2010-08-13 05:58:05 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2010-08-13 05:58:05 +0100
commitbd3137458993cb7a6df675ce3959c6f2ef9fe529 (patch)
tree0f7d9cebc0071470d9afe4fba7b64f77870a830b /src
parent5965b80e510973c5939e6313626b65650541a0aa (diff)
downloadrabbitmq-server-git-bd3137458993cb7a6df675ce3959c6f2ef9fe529.tar.gz
cosmetic
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_limiter.erl3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rabbit_limiter.erl b/src/rabbit_limiter.erl
index fccf5f3434..b9338a6e5b 100644
--- a/src/rabbit_limiter.erl
+++ b/src/rabbit_limiter.erl
@@ -157,9 +157,6 @@ handle_call(unblock, _From, State) ->
{stop, State1} -> {stop, normal, stopped, State1}
end.
-handle_cast(shutdown, State) ->
- {stop, normal, State};
-
handle_cast({ack, Count}, State = #lim{volume = Volume}) ->
NewVolume = if Volume == 0 -> 0;
true -> Volume - Count