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
Async API never yields which causes the thread to eat CPU. #1550
Comments
could you share a snippet of how you're using the apis? |
|
I will check if #1542 solves the issue tomorrow. |
You've set the |
Ah, explains. |
@ralight FWIW: Your suggestion worked perfectly. So the bug is that it doesn't validate the argument then. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The async API never yields which causes the thread to eat lots of CPU (about 99%). Adding usleep(10); to mosquitto_loop_misc() fixes this. However I am unsure if that is appropriate.
The text was updated successfully, but these errors were encountered: