Activate the mempool after 2 tip syncer runs (#4501)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
teor 2022-05-27 04:51:52 +10:00 committed by GitHub
parent 49997621ea
commit c2769dcc50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ impl RecentSyncLengths {
/// * clearing temporary errors and temporary syncs quickly
/// * distinguishing between temporary and sustained syncs/errors
/// * activating the syncer shortly after reaching the chain tip
pub const MAX_RECENT_LENGTHS: usize = 4;
pub const MAX_RECENT_LENGTHS: usize = 2;
/// Create a new instance of [`RecentSyncLengths`]
/// and a [`watch::Receiver`] endpoint for receiving recent sync lengths.