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(net): do not dial regions in parallel #1736

Merged
merged 1 commit into from
Oct 26, 2023
Merged

Conversation

dignifiedquire
Copy link
Contributor

These are supposed to be dialed in order, not in parallel.

This should also fix the warnings in the logs about aborted dials.

These are supposed to be dialed in order, not in parallel.

This should also fix the warnings in the logs about aborted dials.
@rklaehn
Copy link
Contributor

rklaehn commented Oct 26, 2023

So what does dialing a region mean anyway? And in what order will they be dialed?

Ah, this is about multiple addrs in a single region. Do we have that at all? I thought we had 1 derper in region 1 and 1 in region 2, and that's it?

@dignifiedquire
Copy link
Contributor Author

Yes this doesn't really trigger currently, as we do not have multiple nodes in a region setup. But if we do, it is still better to dial one by one, as we only need one.

The order is based on how the config is done.

@dignifiedquire dignifiedquire added this pull request to the merge queue Oct 26, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 26, 2023
@dignifiedquire dignifiedquire added this pull request to the merge queue Oct 26, 2023
Merged via the queue into main with commit c851fe1 Oct 26, 2023
15 checks passed
@dignifiedquire dignifiedquire deleted the fix-improve-dial-http branch October 26, 2023 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants