Function: resolveRetryConfig()
resolveRetryConfig(
override?):RetryConfig
Resolve the 429-retry policy from, in decreasing precedence: an explicit override (the CLI flag), environment variables, then DEFAULT_RETRY.
enabled layers as: a CLI --no-retry-429 (override.enabled === false)
always wins; otherwise PROXY_RETRY_ON_429 (loose boolean via
object.toBoolean) may switch it off; otherwise it stays on. There is
deliberately no enable flag - the default is on, so the only meaningful
action is disabling.
Tunables read PROXY_RETRY_MAX, PROXY_RETRY_BASE_MS, PROXY_RETRY_MAX_MS.
Parameters
Section titled “Parameters”override?
Section titled “override?”Partial<RetryConfig> = {}