Added the server timeout for signalR
This commit is contained in:
parent
767475c7e5
commit
507bc68da9
@ -23,8 +23,11 @@ export function startSignalR(loggedUser) {
|
||||
transport: signalR.HttpTransportType.LongPolling,
|
||||
withCredentials: false,
|
||||
})
|
||||
// .withKeepAliveInterval(30000)
|
||||
// .withServerTimeout(30000)
|
||||
.withAutomaticReconnect()
|
||||
.build();
|
||||
connection.serverTimeoutInMilliseconds = 30000; // 60 seconds
|
||||
const todayDate = new Date();
|
||||
const today = new Date(
|
||||
Date.UTC(todayDate.getFullYear(), todayDate.getMonth(), todayDate.getDate())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user