Skip to main content

COMMIT_RETRY_DELAY

Constant COMMIT_RETRY_DELAY 

Source
const COMMIT_RETRY_DELAY: Duration;
Expand description

How long to wait before re-subscribing after a block fails to commit to the non-finalized state.

A block can persistently fail to commit (e.g. ValidateContextError::NotReadyToBeCommitted) when the secondary finalized state hasn’t yet caught up with the primary. Without this delay, re-subscribing immediately turns that into a full-speed busy loop that saturates the logs.