-
Notifications
You must be signed in to change notification settings - Fork 453
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: remove per-peer parallel dialling (#2090)
Since we are now dialling one peer at a time as a means of smarter dialling, we no longer need the option to control the concurrency of parallel dials across a single peers' multiaddrs. Closes #2090
- Loading branch information
1 parent
5178617
commit 4101b23
Showing
7 changed files
with
46 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<!--Specify versions for migration below--> | ||
# Migrating to [email protected].0 <!-- omit in toc --> | ||
# Migrating to [email protected] <!-- omit in toc --> | ||
|
||
A migration guide for refactoring your application code from libp2p `v0.46` to `v1.0.0`. | ||
|
||
|
@@ -9,6 +9,7 @@ A migration guide for refactoring your application code from libp2p `v0.46` to ` | |
- [KeyChain](#keychain) | ||
- [Pnet](#pnet) | ||
- [Metrics](#metrics) | ||
- [Connection Manager](#connection-manager) | ||
|
||
## AutoNAT | ||
|
||
|
@@ -77,3 +78,7 @@ The following metrics were renamed: | |
|
||
`libp2p_dialler_pending_dials` => `libp2p_dial_queue_pending_dials` | ||
`libp2p_dialler_in_progress_dials` => `libp2p_dial_queue_in_progress_dials` | ||
|
||
## Connection Manager | ||
|
||
We now only dial one peer at a time as this is a more efficient use of resources. This means that the `maParallelDialsPerPeer` option has been removed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.