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
mosquitto_sub with -C and -W options #3009
Comments
can you try with a newer version? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running the following command over a mosquitto 2.0.11 installation
mosquitto_sub -h host -p port -t topic -C 1 and -W 10
waits for the timeout to expire whether or not a message is read. Since the -C option says:
I would expect that the timeout takes place only when there are no messages in the topic, and it is ignored when a message is actually read, respecting the -C specs.
The text was updated successfully, but these errors were encountered: