chore: fix stale code comments

This commit is contained in:
Zaiming (Stone) Shi 2023-02-17 15:21:20 +01:00
parent 97d08553c1
commit 53ecfb98d0
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ render_timestamp(Template, Message) ->
%% Wolff producer never gives up retrying %% Wolff producer never gives up retrying
%% so there can only be 'ok' results. %% so there can only be 'ok' results.
on_kafka_ack(_Partition, Offset, {ReplyFn, Args}) when is_integer(Offset) -> on_kafka_ack(_Partition, Offset, {ReplyFn, Args}) when is_integer(Offset) ->
%% the ReplyFn is emqx_resource_worker:handle_async_reply/2 %% the ReplyFn is emqx_resource_buffer_worker:handle_async_reply/2
apply(ReplyFn, Args ++ [ok]); apply(ReplyFn, Args ++ [ok]);
on_kafka_ack(_Partition, buffer_overflow_discarded, _Callback) -> on_kafka_ack(_Partition, buffer_overflow_discarded, _Callback) ->
%% wolff should bump the dropped_queue_full counter %% wolff should bump the dropped_queue_full counter