zebra_network::constants

Constant EWMA_DECAY_TIME_NANOS

source
pub const EWMA_DECAY_TIME_NANOS: f64 = _; // 2.0E+11f64
Expand description

The decay time for the EWMA response time metric used for load balancing.

This should be much larger than the SYNC_RESTART_TIMEOUT, so we choose better peers when we restart the sync.