mirror of
https://github.com/immich-app/immich.git
synced 2025-01-21 00:52:43 -05:00
Use polling as primary connection for socket io
This commit is contained in:
parent
4aa66f4156
commit
8840911f22
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ import { assets } from './assets';
|
|||
|
||||
export const openWebsocketConnection = (accessToken: string) => {
|
||||
const websocket = io(serverEndpoint, {
|
||||
transports: ['websocket', 'polling'],
|
||||
transports: ['polling'],
|
||||
reconnection: true,
|
||||
forceNew: true,
|
||||
autoConnect: true,
|
||||
|
|
Loading…
Add table
Reference in a new issue