improvements
This commit is contained in:
parent
70faba1855
commit
b4e7f617ec
|
|
@ -30,7 +30,7 @@ namespace TIAMWebApp.Shared.Application.Utility
|
||||||
await _hubConnection.StartAsync();
|
await _hubConnection.StartAsync();
|
||||||
|
|
||||||
if (_hubConnection.State != HubConnectionState.Connected)
|
if (_hubConnection.State != HubConnectionState.Connected)
|
||||||
await TaskHelper.WaitToAsync(() => _hubConnection.State == HubConnectionState.Connected, 3000, 100);
|
await TaskHelper.WaitToAsync(() => _hubConnection.State == HubConnectionState.Connected, 10000, 10, 25);
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task StopConnection()
|
public async Task StopConnection()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue