diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_channel.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 9eb77c326a..080002883a 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -380,9 +380,8 @@ next_state(Mask, State) -> end, State, [ensure_stats_timer, send_confirms] -- Mask). ensure_stats_timer(State = #ch{stats_timer = StatsTimer}) -> - ChPid = self(), State#ch{stats_timer = rabbit_event:ensure_stats_timer( - StatsTimer, ChPid, emit_stats)}. + StatsTimer, self(), emit_stats)}. return_ok(State, true, _Msg) -> {noreply, State}; return_ok(State, false, Msg) -> {reply, Msg, State}. |
