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