Interface: RetryOptions
Properties
initialDelay?
optionalinitialDelay?:number
Initial delay in ms (default: 300)
maxRetries?
optionalmaxRetries?:number
Maximum number of retries (default: 2)
maxRetryAfterMs?
optionalmaxRetryAfterMs?:number
Longest Retry-After window this middleware will actually wait out, in ms
(default: 30_000). A server asking for longer is answered by failing fast rather
than stalling the caller for minutes — a build or a page render needs an answer,
and a very long window means the limit will not clear within a useful timeframe.