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

Update Dial Concurrency factor #2741

Merged
merged 4 commits into from
Jul 7, 2022

Conversation

maschad
Copy link
Member

@maschad maschad commented Jul 1, 2022

Description

Increased the default dial concurrency factor to 8 based on the bottom dialer number of connections as well as the go-libp2p uses a dial concurrency factor of 8

Links to any relevant issues

Part of #2678

Open Questions

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • A changelog entry has been made in the appropriate crates

Copy link
Member

@mxinden mxinden left a comment

Choose a reason for hiding this comment

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

Two small comments, otherwise this looks good to me. Thanks!

swarm/src/connection/pool.rs Outdated Show resolved Hide resolved
swarm/CHANGELOG.md Outdated Show resolved Hide resolved
@maschad maschad force-pushed the update-dial-concurrency-value branch 2 times, most recently from 86c4279 to 8d3e688 Compare July 4, 2022 14:12
@maschad maschad force-pushed the update-dial-concurrency-value branch from 8d3e688 to 4efd77e Compare July 4, 2022 14:12
@maschad
Copy link
Member Author

maschad commented Jul 4, 2022

Thanks for the review @mxinden , I've made the suggested changes.

@maschad maschad requested a review from mxinden July 5, 2022 18:54
@mxinden mxinden merged commit d0da3a0 into libp2p:master Jul 7, 2022
mxinden added a commit to mxinden/rust-libp2p that referenced this pull request Mar 4, 2023
Since libp2p#2741 the default dial concurrency factor is > 1,
more specifically 8. Thus there is no need to explicitly set it anylonger.
mergify bot pushed a commit that referenced this pull request Mar 6, 2023
Since #2741 the default dial concurrency factor is > 1, more specifically 8. Thus there is no need to explicitly set it anylonger.

Pull-Request: #3550.
umgefahren pushed a commit to umgefahren/rust-libp2p that referenced this pull request Mar 8, 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