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

Dev/william/unbreakable reconn #235

Merged
merged 2 commits into from
Nov 17, 2023

Conversation

qzhuyan
Copy link
Contributor

@qzhuyan qzhuyan commented Nov 17, 2023

No description provided.

@qzhuyan qzhuyan force-pushed the dev/william/unbreakable-reconn branch from b66ec46 to e680eb9 Compare November 17, 2023 19:06
@@ -714,6 +714,7 @@ loop(Parent, N, Client, PubSub, Opts) ->
{connected, _Props} ->
inc_counter(reconnect_succ),
IsSessionPresent = (1 == proplists:get_value(session_present, emqtt:info(Client))),
%% @TODO here we do not really check the subscribe
PubSub =:= sub andalso not IsSessionPresent andalso subscribe(Client, N, Opts),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

need some ideas how to handle this if resubscribe fail.

src/emqtt_bench.erl Outdated Show resolved Hide resolved
@qzhuyan qzhuyan force-pushed the dev/william/unbreakable-reconn branch from e680eb9 to 1cbd5ed Compare November 17, 2023 19:19
@qzhuyan qzhuyan marked this pull request as ready for review November 17, 2023 19:21
@qzhuyan qzhuyan merged commit 03bbfcd into emqx:master Nov 17, 2023
5 checks passed
@qzhuyan qzhuyan deleted the dev/william/unbreakable-reconn branch October 7, 2024 09:55
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.

2 participants