RateLimitRetryConfig

constructor(maxRetries: MaxRetries, minDelaySeconds: MinDelaySeconds)

Parameters

maxRetries

the maximum number of retry attempts after the initial 429 response.

minDelaySeconds

the minimum wait time in seconds before each retry attempt. The actual delay is max(retryAfterHeader, minDelaySeconds.value).