Update the max_concurrent_block_requests docs
In #1298, we decreased `max_concurrent_block_requests`, but forgot to update the docs.
This commit is contained in:
parent
faa9cbcade
commit
d4da9609ee
|
|
@ -132,10 +132,10 @@ impl Default for MetricsSection {
|
||||||
pub struct SyncSection {
|
pub struct SyncSection {
|
||||||
/// The maximum number of concurrent block requests during sync.
|
/// The maximum number of concurrent block requests during sync.
|
||||||
///
|
///
|
||||||
/// This is set to a high value by default, so that the concurrency limit is
|
/// This is set to a low value by default, to avoid task and
|
||||||
/// based only on the number of available peers. However, on a slow network,
|
/// network contention. Increasing this value may improve
|
||||||
/// making too many concurrent block requests can overwhelm the connection.
|
/// performance on machines with many cores and a fast network
|
||||||
/// Lowering this value may help on slow or unreliable networks.
|
/// connection.
|
||||||
pub max_concurrent_block_requests: usize,
|
pub max_concurrent_block_requests: usize,
|
||||||
|
|
||||||
/// Controls how far ahead of the chain tip the syncer tries to
|
/// Controls how far ahead of the chain tip the syncer tries to
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue