Skip to main content

DEFAULT_SEED_BOOTSTRAP_DEADLINE_SECS

Constant DEFAULT_SEED_BOOTSTRAP_DEADLINE_SECS 

Source
pub const DEFAULT_SEED_BOOTSTRAP_DEADLINE_SECS: i64 = 86_400;
Expand description

Default activeDeadlineSeconds for a bootstrap Job that is seeding — 24 hours, versus the 120s a routine connect gets.

A seed copies a whole repository over the network exactly once; the ordinary bootstrap deadline exists to fail a wedged connect fast and is orders of magnitude too short for it. Overridable per repository via spec.seed.failurePolicy.activeDeadlineSeconds (see seed_active_deadline_seconds). Part of the documented API contract, so it lives beside the field rather than in the controller.