Skip to content

Commit

Permalink
wait longer before connecting to default socket
Browse files Browse the repository at this point in the history
I've seen double connections on broadcast pages
  • Loading branch information
ornicar committed Dec 30, 2024
1 parent 3281f81 commit ad9ed96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/common/src/socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let siteSocket: WsSocket | undefined;
export function eventuallySetupDefaultConnection(): void {
setTimeout(() => {
if (!siteSocket) wsConnect('/socket/v5', false);
}, 300);
}, 500);
}

type Sri = string;
Expand Down

0 comments on commit ad9ed96

Please sign in to comment.