Slightly increase some syncer defaults (#4679)
This is a partial revert of PR #4670.
This commit is contained in:
parent
b35ab67ef0
commit
49cda21f37
|
|
@ -81,7 +81,7 @@ pub const MIN_LOOKAHEAD_LIMIT: usize = zebra_consensus::MAX_CHECKPOINT_HEIGHT_GA
|
||||||
/// See [`MIN_LOOKAHEAD_LIMIT`] for details.
|
/// See [`MIN_LOOKAHEAD_LIMIT`] for details.
|
||||||
///
|
///
|
||||||
/// TODO: increase to `MAX_CHECKPOINT_HEIGHT_GAP * 5`, after we implement orchard batching
|
/// TODO: increase to `MAX_CHECKPOINT_HEIGHT_GAP * 5`, after we implement orchard batching
|
||||||
pub const DEFAULT_LOOKAHEAD_LIMIT: usize = MIN_LOOKAHEAD_LIMIT;
|
pub const DEFAULT_LOOKAHEAD_LIMIT: usize = zebra_consensus::MAX_CHECKPOINT_HEIGHT_GAP * 3;
|
||||||
|
|
||||||
/// The expected maximum number of hashes in an ObtainTips or ExtendTips response.
|
/// The expected maximum number of hashes in an ObtainTips or ExtendTips response.
|
||||||
///
|
///
|
||||||
|
|
|
||||||
|
|
@ -198,7 +198,7 @@ impl Default for SyncSection {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Self {
|
Self {
|
||||||
// TODO: increase to 50, after we implement orchard batching
|
// TODO: increase to 50, after we implement orchard batching
|
||||||
max_concurrent_block_requests: 25,
|
max_concurrent_block_requests: 40,
|
||||||
lookahead_limit: sync::DEFAULT_LOOKAHEAD_LIMIT,
|
lookahead_limit: sync::DEFAULT_LOOKAHEAD_LIMIT,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue