Zaiming (Stone) Shi 2 лет назад
Родитель
Сommit
98e94d8619
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apps/emqx/src/emqx_channel.erl

+ 1 - 1
apps/emqx/src/emqx_channel.erl

@@ -2317,7 +2317,7 @@ shutdown(Reason, Reply, Packet, Channel) ->
     {shutdown, Reason, Reply, Packet, Channel}.
 
 %% process exits with {shutdown, #{shutdown_count := Kind}} will trigger
-%% make the connection supervisor (esockd) keep a shutdown-counter groupd by Kind
+%% the connection supervisor (esockd) to keep a shutdown-counter grouped by Kind
 shutdown_count(Kind, Reason) when is_map(Reason) ->
     Reason#{shutdown_count => Kind};
 shutdown_count(Kind, Reason) ->