added automatic reconnect after connection with SignalR-Hub lost
This commit is contained in:
parent
4ff41ebfec
commit
830246b2e0
@ -21,6 +21,7 @@ export class SubscriptionManager {
|
||||
skipNegotiation: true,
|
||||
transport: signalR.HttpTransportType.WebSockets
|
||||
})
|
||||
.withAutomaticReconnect([0, 2000, 10000, 30000, 60000])
|
||||
.configureLogging(signalR.LogLevel.None)
|
||||
.build();
|
||||
this._hubConnection.start()
|
||||
|
Loading…
x
Reference in New Issue
Block a user