|
|
|
|
Re: deadlock with the java client [message #1722062 is a reply to message #1721273] |
Tue, 02 February 2016 14:51 |
Emmanuel Touzery Messages: 3 Registered: January 2016 |
Junior Member |
|
|
Thank you for the answer! And sorry that I did not answer myself before.
By reviewing the Paho source code and the stack trace, I am pretty sure that the problem will be prevented by calling setTimeToWait() on the MqttClient.
It seems to me the server did not answer at all to the request, and so the query was "hanged" in the wait(). Hopefully setTimeToWait() will prevent a repeat.
That said, we did not deploy the fix yet in production, and the issue has yet to repeat...
Thank you for your answers, let me know if you don't agree with the interpretation!
Emmanuel
[Updated on: Tue, 02 February 2016 14:51] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.05010 seconds