Skip to main content

DRAIN_GRACE

Constant DRAIN_GRACE 

Source
pub(crate) const DRAIN_GRACE: Duration;
Expand description

How long a stop is allowed to take before the process leaves without it.

Bounded below by pipeline::Config::max_block_age: step 1 of drain only makes progress once the block an in-flight export is waiting on seals, and with the listener closed nothing else will grow it. So this is a multiple of that constant, not a number chosen freely.