Merge branch 'Service_Project_Managment' of https://git.marcoaiot.com/admin/marco.pms.web into Service_Project_Managment

This commit is contained in:
Kartik Sharma 2025-11-17 18:25:48 +05:30
commit 6860ba3dff

View File

@ -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())