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

Only retry other regions if connection attempt has not been cancelled #1205

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

lukasIO
Copy link
Contributor

@lukasIO lukasIO commented Jul 29, 2024

With #1201 the initial population of the region settings got sped up.
This surfaced an issue where, when given enough time for the region settings to be populated, cancelling a room connection would still trigger the region url provider internally to attempt a connection with a different region.

We were missing a check before to see whether or not the connection had been cancelled by the user before.

Copy link

changeset-bot bot commented Jul 29, 2024

🦋 Changeset detected

Latest commit: 0217296

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
livekit-client Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Jul 29, 2024

size-limit report 📦

Path Size
dist/livekit-client.esm.mjs 80.91 KB (+0.02% 🔺)
dist/livekit-client.umd.js 86.83 KB (+0.02% 🔺)

@lukasIO lukasIO merged commit 27aaca2 into main Jul 29, 2024
3 checks passed
@lukasIO lukasIO deleted the lukas/fix-connection-cancellation branch July 29, 2024 06:20
@github-actions github-actions bot mentioned this pull request Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants