chore: sync emqx_cm from ee to ce

This commit is contained in:
Zaiming (Stone) Shi 2022-12-28 14:30:42 +01:00
parent 614d740f71
commit 79f51e46a4
1 changed files with 2 additions and 1 deletions

View File

@ -558,7 +558,8 @@ code_change(_OldVsn, State, _Extra) ->
%%--------------------------------------------------------------------
clean_down({ChanPid, ClientId}) ->
do_unregister_channel({ClientId, ChanPid}).
do_unregister_channel({ClientId, ChanPid}),
?tp(debug, emqx_cm_clean_down, #{client_id => ClientId}).
stats_fun() ->
lists:foreach(fun update_stats/1, ?CHAN_STATS).