修复iotnode更新iotcenter地址后不自动重连的问题

TangShanKaiPing
wanggang 6 years ago
parent 5e36b68090
commit b633357d8e

@ -553,6 +553,10 @@ namespace Application.Services
if (Connection.State == HubConnectionState.Disconnected)
{
Console.WriteLine("start connect");
if (this._notifyHost != this._cfg["notify:host"])
{
InitConnection();
}
Connection.StartAsync().Wait();
this.Notify();
}

Loading…
Cancel
Save