pub const CHECKPOINT_CATCHUP_THRESHOLD: u64 = 1000;
Threshold for switching from event-by-event to checkpoint sync.