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

Prepare connection / region pinning #450

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

Conversation

hiroshihorie
Copy link
Member

@hiroshihorie hiroshihorie commented Jul 30, 2024

  • Test local / remote urls
  • Test url updates

@hiroshihorie hiroshihorie changed the title Prepare connection Prepare connection / region pinning Jul 30, 2024
// Connect sequence successful
log("Connect sequence completed")
while true {
let region = try await resolveBestRegion()
Copy link
Contributor

@lukasIO lukasIO Aug 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we want to await region selection on initial connection?
The other SDKs don't block here and just continue immediately in order for region manager not to have any impact on connection speed

@hiroshihorie hiroshihorie requested a review from lukasIO September 4, 2024 04:08
Copy link
Contributor

@lukasIO lukasIO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

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.

3 participants