Skip to main content

LOCAL_CATCHUP_TIMEOUT

Constant LOCAL_CATCHUP_TIMEOUT 

Source
const LOCAL_CATCHUP_TIMEOUT: Duration;
Expand description

How long the loop waits on a local catchup read. Consensus cuts local reads short, so that it can still vote in time. The loop has no such deadline, while peers may have pruned the heights it reads, so a slow read cut short on every try would stall it.