Open imetallica opened 7 years ago
Set the timeout and try again.
Can you give a small example? I couldn't find any documentation about it.
Enviado do meu iPhone
Em 13 de set de 2017, às 02:47, Hamidreza Mohaqeq notifications@github.com escreveu:
Set the timeout and try again.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
There is class named MqttSettings. You can set the default connection time out in the singleton instance "MqttSettings.Instance" before creating client.
Yeah, that would work if the modification access wasn't internal.
...
public int TimeoutOnConnection { get; internal set; }
...
Can you change the access modification and push a new version to nuget?
I know it is internal. Please clone this code and modify it to check if it solve your problem.
Hey, when I try to call
connect
when there is no connection, the function hangs, even when the MQTT goes back online.Example (with F#)
I'm using dotnetcore 2.0