mirror of
https://github.com/immich-app/immich.git
synced 2024-12-22 01:47:08 +02:00
Use polling as primary connection for socket io
This commit is contained in:
parent
4aa66f4156
commit
8840911f22
@ -5,7 +5,7 @@ import { assets } from './assets';
|
|||||||
|
|
||||||
export const openWebsocketConnection = (accessToken: string) => {
|
export const openWebsocketConnection = (accessToken: string) => {
|
||||||
const websocket = io(serverEndpoint, {
|
const websocket = io(serverEndpoint, {
|
||||||
transports: ['websocket', 'polling'],
|
transports: ['polling'],
|
||||||
reconnection: true,
|
reconnection: true,
|
||||||
forceNew: true,
|
forceNew: true,
|
||||||
autoConnect: true,
|
autoConnect: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user