Expand description
Centralized retry infrastructure with exponential backoff and half-jitter. Centralized retry infrastructure with exponential backoff and half-jitter.
Provides RetryConfig with named constructors for each failure domain
(SQLite BUSY, LLM rate-limit, cold-start) and a compute_delay function
that applies the configured jitter strategy.
Structs§
- Retry
Config - Configures retry behavior for a specific failure domain.
Enums§
- Jitter
Kind - Jitter strategy for randomizing retry delays.
Functions§
- compute_
delay - Computes the delay for a given attempt using the config’s jitter strategy.
- is_
kill_ switch_ active - Returns
trueif the env varSQLITE_GRAPHRAG_DISABLE_RETRYis set to1.