8000 adding mosquitto_loop after mosquitto_publish, otherwise qos=1 messag… by viulian · Pull Request #2730 · collectd/collectd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

adding mosquitto_loop after mosquitto_publish, otherwise qos=1 messag… #2730

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

Merged
merged 2 commits into from
Apr 23, 2020
Merged

Conversation

viulian
Copy link
@viulian viulian commented Mar 27, 2018

ChangeLog: collectd-mod-mqtt: hangs after 20 (qos=1) messages are sent

adding mosquitto_loop after mosquitto_publish, otherwise qos=1 messages would not be considered acknowledged by the broker.

A proposed fix for #2727

I haven't tested yet with messages of QoS=2 but now collectd-mod-mqtt is able to push more than 20 messages (without the mosquitto_loop reading the socket after mosquitto_publish, libmosquitto was unaware that the messages were acknowledged by the broker).

…es would not be considered acknowledged by the broker
@viulian viulian closed this Oct 24, 2019
@viulian viulian reopened this Oct 24, 2019
@viulian viulian requested a review from octo February 25, 2020 20:56
@mrunge
Copy link
Member
mrunge commented Apr 23, 2020

Thank you for your patch!

@mrunge mrunge merged commit 71db87c into collectd:master Apr 23, 2020
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
0