fix: improve Reverb WebSocket connect and reconnect handling
Avoid premature polling fallback while Pusher is connecting, schedule reconnect after disconnect, and disable Pusher stats for Reverb. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -43,7 +43,8 @@ export function getLotteryEcho(): Echo<"reverb"> | null {
|
||||
wsPort: port,
|
||||
wssPort: port,
|
||||
forceTLS,
|
||||
enabledTransports: forceTLS ? ["wss"] : ["ws"],
|
||||
enabledTransports: forceTLS ? ["ws", "wss"] : ["ws"],
|
||||
disableStats: true,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user