Adjust the EWMA decay for the latest sync timeout

This commit is contained in:
teor 2020-09-09 10:05:54 +10:00 committed by Henry de Valence
parent 1f7af0a779
commit 66265dc11a
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ pub const EWMA_DEFAULT_RTT: Duration = Duration::from_secs(20 + 1);
///
/// This should be much larger than the `SYNC_RESTART_TIMEOUT`, so we choose
/// better peers when we restart the sync.
pub const EWMA_DECAY_TIME: Duration = Duration::from_secs(120);
pub const EWMA_DECAY_TIME: Duration = Duration::from_secs(200);
/// Magic numbers used to identify different Zcash networks.
pub mod magics {