mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:17:11 -05: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) => {
 | 
			
		||||
	const websocket = io(serverEndpoint, {
 | 
			
		||||
		transports: ['websocket', 'polling'],
 | 
			
		||||
		transports: ['polling'],
 | 
			
		||||
		reconnection: true,
 | 
			
		||||
		forceNew: true,
 | 
			
		||||
		autoConnect: true,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user