pub const DEFAULT_RATE_LIMIT_DEADLINE_SECS: u64 = 3_600;Expand description
Deadline, in seconds, a drain keeps absorbing provider rate limits before giving up on the run.
One hour is long enough to ride out a provider quota window without a human,
and short enough that a wedged run does not hold a job singleton overnight.
Shared by enrich (serial and parallel drains) and ingest-codex, which had
three independent copies of the same literal.
Operational policy, so it is configurable: XDG
enrich.rate_limit_deadline_secs, resolved by
crate::runtime_config::rate_limit_deadline_secs.