summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2012-12-27 21:57:29 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2012-12-27 21:57:29 +0000
commit2956e6dda62c838ace81cc60b22a698927f561b8 (patch)
tree7814ba915298c41636eaf851af22f891e80a07eb
parentbe7a16744c5a0c4574fe36e0dfdc61ad9ce45a76 (diff)
downloadrabbitmq-server-2956e6dda62c838ace81cc60b22a698927f561b8.tar.gz
get rid of bump_reductionsbug25363
it hurts performance in some cases and credit_flow does a better job
-rw-r--r--src/rabbit_reader.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rabbit_reader.erl b/src/rabbit_reader.erl
index 928786e9..0296537d 100644
--- a/src/rabbit_reader.erl
+++ b/src/rabbit_reader.erl
@@ -622,8 +622,7 @@ post_process_frame({method, MethodName, _}, _ChPid,
State = #v1{connection = #connection{
protocol = Protocol}}) ->
case Protocol:method_has_content(MethodName) of
- true -> erlang:bump_reductions(2000),
- maybe_block(control_throttle(State));
+ true -> maybe_block(control_throttle(State));
false -> control_throttle(State)
end;
post_process_frame(_Frame, _ChPid, State) ->