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

swarm: Check context once more before dialing #2139

Merged
merged 1 commit into from
Feb 24, 2023

Conversation

MarcoPolo
Copy link
Collaborator

We may as well check the context before asking the transport to do any work. In some cases the saves us work since the transport may be doing things before checking the context. You my argue that's an issue with the transport, and that's fair and correct. But it's easy and cheap to check here once before involving the transport.

@MarcoPolo MarcoPolo merged commit e3a16dd into master Feb 24, 2023
@MarcoPolo MarcoPolo deleted the marco/swarm-dial-check-ctx2 branch February 24, 2023 17:53
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