Skip to main content

NEW_TX_DRAIN_LIMIT

Constant NEW_TX_DRAIN_LIMIT 

Source
const NEW_TX_DRAIN_LIMIT: usize = 4096;
Expand description

Maximum number of new-transaction events to receive in a single maintenance wakeup before yielding back to the event loop. Bounds the per-wakeup work so a sustained burst of new transactions cannot starve block-commit processing.