Skip to main content

ERROR_BACKOFF_SECONDS

Constant ERROR_BACKOFF_SECONDS 

Source
pub const ERROR_BACKOFF_SECONDS: u64 = 15;
Expand description

Second-count budget for the “back off after a reconcile error” requeue intent (15s). Bound by the bare 15 literal in tatara-pool-reconciler::controller_pool::error_policy (Pool reconcile-failure backoff) and by the bare 15 literal in tatara-pool-reconciler::controller_allocation::error_policy (Allocation reconcile-failure backoff), past the ★★ PRIME-DIRECTIVE ≥ 2 duplication threshold across two files that each named the same intent independently.

Sits between SHORT_RETRY_SECONDS (5s — a per-branch bounded retry inside a reconcile pass) and HEARTBEAT_SECONDS (30s — the steady-state re-observation cadence). The pool-reconciler deliberately chose a shorter error-backoff than its own heartbeat_seconds slot (default 30) because a Pool / EphemeralAllocation reconcile failure signals a mis-computed desired-count or a stale claim — either of which the operator wants observed again ahead of the next heartbeat tick — whereas the two tatara-reconciler error_policy sinks fall through to heartbeat directly because a Process-reconcile failure holds its own retry budget in the FSM handlers themselves.