Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the msg retry mechanism to avoid blocking msgs sending #243

Merged
merged 12 commits into from
Jun 24, 2024

Conversation

HJianBo
Copy link
Member

@HJianBo HJianBo commented Jun 19, 2024

No description provided.

@HJianBo HJianBo marked this pull request as ready for review June 21, 2024 09:11
State#state{inflight = maps:remove(PacketId, Inflight)};
Inflight1 = maps:remove(PacketId, Inflight),
set_inflight_cnt(maps:size(Inflight1)),
State#state{inflight = Inflight1};
error ->
?LOG(warning, "Unexpected PUBACK: ~p", [PacketId], State),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe lower to info.

src/emqtt.erl Outdated Show resolved Hide resolved
src/emqtt.erl Show resolved Hide resolved
src/emqtt.erl Outdated Show resolved Hide resolved
src/emqtt.erl Outdated Show resolved Hide resolved
src/emqtt.erl Show resolved Hide resolved
src/emqtt.erl Show resolved Hide resolved
@terry-xiaoyu terry-xiaoyu merged commit fe9f237 into tag-1.2.3.3 Jun 24, 2024
22 checks passed
@terry-xiaoyu terry-xiaoyu deleted the feat-ctrl-retry-mechanism branch June 24, 2024 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants