We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52122b5 commit 024f96dCopy full SHA for 024f96d
web/src/hooks/useSocketIO.ts
@@ -41,7 +41,7 @@ export function useSocketIO({
41
reconnection: true,
42
reconnectionAttempts: 2,
43
reconnectionDelay: 10000,
44
- transports: ['polling'],
+ transports: ['polling', 'websocket'],
45
timeout: 20000,
46
path: configs.SOCKET_ENDPOINT,
47
forceNew: true // Force new connection to prevent reusing stale connections
0 commit comments