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

The timestamp of the will message is wrong #10680

Closed
lafirest opened this issue May 12, 2023 · 0 comments · Fixed by #10682
Closed

The timestamp of the will message is wrong #10680

lafirest opened this issue May 12, 2023 · 0 comments · Fixed by #10682
Assignees
Labels

Comments

@lafirest
Copy link
Member

What happened?

The timestamp of the will message is assigned at the session creation time, this is not correct and makes all the will messages counted by the slow subscriptions feature.

Reported by: https://askemq.com/t/topic/4792/3

What did you expect to happen?

The timestamp for the will message should be the disconnected time of the session.

How can we reproduce it (as minimally and precisely as possible)?

No response

Anything else we need to know?

No response

EMQX version

$ ./bin/emqx_ctl broker
# paste output here

OS version

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here

Log files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant