mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-23 08:28:10 +00:00
fix(ui): do not fallback to polling and use websocket as transport method (#5705)
This commit is contained in:
parent
aab7544778
commit
ea35d77b52
@ -34,6 +34,10 @@ const WebSocketProvider: FC<Props> = ({ children }: Props) => {
|
||||
query: {
|
||||
userId: currentUser?.id,
|
||||
},
|
||||
// Since we have load balancer in our application
|
||||
// We need to enforce transports to be websocket only
|
||||
// Refer: https://socket.io/docs/v3/using-multiple-nodes/
|
||||
transports: ['websocket'],
|
||||
})
|
||||
);
|
||||
}, [currentUser]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user