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

Fix transaction state vacuum in MQTT transport #2358

Merged
merged 1 commit into from
Sep 14, 2020

Conversation

feymartynov
Copy link
Contributor

This fixes a bug of comparing microseconds returned by janus_monotonic_time with seconds from vacuums_interval config setting which leads to premature dropping of a transaction state which in part implies sending the response to the wrong topic: the default one instead of the response topic specified in the request.

Copy link
Member

@lminiero lminiero left a comment

Choose a reason for hiding this comment

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

Thanks! Added just a small note inline.

@feymartynov feymartynov force-pushed the feature/fix-mqtt-txn-state-vacuum branch from dfc5fe9 to e3c0993 Compare September 14, 2020 12:48
@lminiero
Copy link
Member

Thanks, merging!

@lminiero lminiero merged commit 6c18ee0 into meetecho:master Sep 14, 2020
@feymartynov feymartynov deleted the feature/fix-mqtt-txn-state-vacuum branch September 14, 2020 13:09
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.

None yet

2 participants