Expand description
Global constants published from this crate.
Constantsยง
- DEFAULT_
HEARTBEAT_ INTERVAL - Interval to run heartbeat rounds, must include enough time to traverse NATs
- DEFAULT_
HEARTBEAT_ INTERVAL_ VARIANCE - Randomization of the heartbeat interval to make sure not all the nodes start their interval at the same time
- DEFAULT_
HEARTBEAT_ THRESHOLD - Time after which the availability of a node gets rechecked
- DEFAULT_
MAX_ PARALLEL_ PINGS - The maximum number of parallel probes the heartbeat performs