Repository navigation
feat(realtime): connect on subscribe when the client has no socket - #780
Merged
Tr00d merged 5 commits intoNov 18, 2026
Merged
Conversation
Contributor
Author
|
@Tr00d last commit turns the idle disconnect on by default (40 s, like other SDKs), which is a breaking change.... I can drop it if you want that in 9.0, but then row just stays partial |
fresh55
marked this pull request as ready for review
November 17, 2026 18:32
Contributor
|
@fresh55 Indeed, it's a behaviour breaking change. I would keep it for v9 and have a partial capability until then. In this PR:
Create a brand new PR with the v9.0.0 change:
v9.0.0 work will probably start early next year, so it's not too far away. What do you think? |
…ushes on the new socket
…o longer holds the channel
fresh55
force-pushed
the
feat/realtime-deferred-disconnect-reconnect
branch
from
November 18, 2026 08:20
b677ccd to
95dd977
Compare
Contributor
Author
|
@Tr00d sounds good, done: default removed, row partial with a note, section added to the v9 guide. I'll open the v9 PR once this one is merged so it only shows the default. |
fresh55
force-pushed
the
feat/realtime-deferred-disconnect-reconnect
branch
from
November 18, 2026 08:23
95dd977 to
a9e5e86
Compare
Tr00d
approved these changes
Nov 18, 2026
This was referenced Dec 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Subscribenow connects the client when it has no socket, so a channel can be created and subscribed without callingConnectAsyncfirst, also after the idle disconnect. A channel object kept across a disconnect joins again on the new connection. The idle disconnect stays off by default, and the migration guide notes the default planned for 9.0.0.