Merge remote-tracking branch 'origin/release/2025-08-01' into feature/IO-3255-simplified-part-management

This commit is contained in:
Dave Richer
2025-07-23 10:18:36 -04:00

View File

@@ -158,10 +158,10 @@ const SocketProvider = ({ children, bodyshop, navigate, currentUser }) => {
auth: { token, bodyshopId: bodyshop.id }, auth: { token, bodyshopId: bodyshop.id },
reconnectionAttempts: Infinity, reconnectionAttempts: Infinity,
reconnectionDelay: 2000, reconnectionDelay: 2000,
reconnectionDelayMax: 60000, reconnectionDelayMax: 60000
randomizationFactor: 0.5, // randomizationFactor: 0.5,
transports: ["websocket", "polling"], // Add this to prefer WebSocket with polling fallback // transports: ["websocket", "polling"], // Add this to prefer WebSocket with polling fallback
rememberUpgrade: true // rememberUpgrade: true
}); });
socketRef.current = socketInstance; socketRef.current = socketInstance;