We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8a0dfe commit f5c931fCopy full SHA for f5c931f
src/rabbit_reader.erl
@@ -1079,6 +1079,8 @@ emit_stats(State) ->
1079
%% If we emit an event which looks like we are in flow control, it's not a
1080
%% good idea for it to be our last even if we go idle. Keep emitting
1081
%% events, either we stay busy or we drop out of flow control.
1082
+ %% The 5 is to match the test in formatters.js:fmt_connection_state().
1083
+ %% This magic number will go away when bug 24829 is merged.
1084
case proplists:get_value(last_blocked_age, Infos) < 5 of
1085
true -> ensure_stats_timer(State1);
1086
_ -> State1
0 commit comments