Skip to main content

SEED_FAILURE_REASONS

Constant SEED_FAILURE_REASONS 

Source
pub const SEED_FAILURE_REASONS: &[&str];
Expand description

Every Seeded=False reason that means “the last seed attempt FAILED”, as opposed to the park/progress reasons (WAITING_FOR_SEED_SOURCE_REASON, SEEDING_REASON).

Exists so a writer can ask “has a previous attempt already recorded a failure here?” without restating the list — the seeding-progress writer uses it to leave a recorded failure standing rather than overwriting it with Seeding on every ~2-minute retry, which would make every retry cycle a fresh status transition (and so a fresh Event and metric increment).