Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: stale connectionId #336

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

bastiankistner
Copy link

Instead of assigning the connectionId once in the space's constructor, it should be taken directly from the ably client. This ensures that the connectionId stays in sync even after a disconnect e.g. when the machine hibernates.

Instead of assigning the connectionId once in the space's constructor, it should be taken directly from the ably client. This ensures that the connectionId stays in sync even after a disconnect e.g. when the machine hibernates.
@VeskeR
Copy link
Contributor

VeskeR commented Nov 8, 2024

Hi @bastiankistner !
Thank you for spotting the issue and opening a PR.
It LGTM, and we're going to merge it once tests are passing (there is a sandbox issue right now preventing some tests to pass, not related to this PR)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants