mirror of
https://github.com/lancedb/lancedb.git
synced 2026-12-03 07:45:17 +00:00
Resolve retry settings from the six documented `LANCE_CLIENT_RETRY_*` environment variables through the shared retry configuration. Explicit configuration takes precedence, invalid values return `InvalidInput`, and status lists tolerate whitespace and trailing commas while a blank list disables status-based retries. Saturate calculated backoff at one hour instead of panicking when the exponential exceeds the representable `Duration` range, including retry counts configured from the environment. Includes coverage for defaults, all six environment variables, explicit configuration precedence, status parsing, invalid environment and direct configuration values, real process-environment wiring, and saturating backoff. Closes #2350 Originally authored by Joshua Snider (@jsnider3).