Skip to main content

MAX_ITEM_PROCESSING_ATTEMPTS

Constant MAX_ITEM_PROCESSING_ATTEMPTS 

Source
const MAX_ITEM_PROCESSING_ATTEMPTS: usize = 10;
Expand description

How many times a single ordered consensus item is processed before we give up. Only a database transaction that could not be validated at commit time costs an attempt, and reprocessing takes a fresh snapshot, so needing more than a couple of these means something is wrong beyond a stale snapshot.