Skip to content

feat(realtime)!: close an idle socket by default - #795

Open
fresh55 wants to merge 1 commit into
supabase:masterfrom
fresh55:feat/realtime-idle-disconnect-default
Open

fresh55 wants to merge 1 commit into
supabase:masterfrom
fresh55:feat/realtime-idle-disconnect-default

Conversation

@fresh55

@fresh55 fresh55 commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

DisconnectOnEmptyChannelsAfter now defaults to 40 seconds, so the socket closes once the last channel has been closed for that long, and the next Subscribe connects again. Setting it to null keeps the socket open as in 8.x. This is the breaking part split out of #780, for 9.0.0.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants