summaryrefslogtreecommitdiff
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
commitac13eb7afdd0743f28fd30583061daec99855498 (patch)
tree0f7d9cebc0071470d9afe4fba7b64f77870a830b
parent6572564dcb2952ee9766c61bf6c31fa0c65ce169 (diff)
downloadrabbitmq-server-ac13eb7afdd0743f28fd30583061daec99855498.tar.gz
cosmetic
-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 fccf5f34..b9338a6e 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