Skip to main content

ENRICH_BACKOFF_CEILING_SECS

Constant ENRICH_BACKOFF_CEILING_SECS 

Source
pub const ENRICH_BACKOFF_CEILING_SECS: u64 = 900;
Expand description

Ceiling, in seconds, on the exponential backoff a rate-limited drain waits between attempts.

The doubling in both drains used to stop at a bare 900 written twice, once per drain. Two literals of the same policy is one edit away from two policies, and the serial and parallel paths would then disagree about how long a rate limit is allowed to stall a run. Coordination wait against a remote limit, so it takes no XDG key: the tunable the operator actually has is enrich.rate_limit_deadline_secs, which bounds the whole wait rather than one step of it.