Compare commits
2 Commits
714b376820
...
8d9b3bf072
| Author | SHA1 | Date |
|---|---|---|
|
|
8d9b3bf072 | |
|
|
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