validator: Improve --dynamic-port-range and sys-tuner error messages (bp #9494) (#9496)

automerge
This commit is contained in:
mergify[bot]
2020-04-14 13:54:29 -07:00
committed by GitHub
parent adb0824da5
commit 6765453f8a
3 changed files with 20 additions and 5 deletions

View File

@@ -65,6 +65,7 @@ use std::{
};
pub const VALIDATOR_PORT_RANGE: PortRange = (8000, 10_000);
pub const MINIMUM_VALIDATOR_PORT_RANGE_WIDTH: u16 = 10; // VALIDATOR_PORT_RANGE must be at least this wide
/// The Data plane fanout size, also used as the neighborhood size
pub const DATA_PLANE_FANOUT: usize = 200;