Module scheduler

Module scheduler 

Source

Structs§

SyncEntry
Entry in the sync-heap: min-heap by next_time.
SyncScheduler

Constants§

MIN_NEIGHBORS
Minimum number of sync neighbors before we actively seek more.
SYNC_INTERVAL_BASE_SECS
Base interval for periodic state-vector sync with each neighbor.
SYNC_INTERVAL_JITTER_SECS
Jitter range for sync timing (± this many seconds).
TARGET_NEIGHBORS
Target number of sync neighbors for epidemic propagation.