diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2013-12-06 11:31:32 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2013-12-06 11:31:32 +0000 |
commit | 3817f05efa7c6199bd5f6ea350280786f8564c80 (patch) | |
tree | 84e14caa964ac325199ae037cb3859b90bd24e25 | |
parent | 549a9ca6b3da26d68e13bcfdb628039b5e0b2117 (diff) | |
download | rabbitmq-server-3817f05efa7c6199bd5f6ea350280786f8564c80.tar.gz |
Explainbug25912
-rw-r--r-- | src/rabbit_reader.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rabbit_reader.erl b/src/rabbit_reader.erl index 2c19b2bf..46c5c42a 100644 --- a/src/rabbit_reader.erl +++ b/src/rabbit_reader.erl @@ -1079,6 +1079,8 @@ emit_stats(State) -> %% If we emit an event which looks like we are in flow control, it's not a %% good idea for it to be our last even if we go idle. Keep emitting %% events, either we stay busy or we drop out of flow control. + %% The 5 is to match the test in formatters.js:fmt_connection_state(). + %% This magic number will go away when bug 24829 is merged. case proplists:get_value(last_blocked_age, Infos) < 5 of true -> ensure_stats_timer(State1); _ -> State1 |