Optional
initialOptional
initialOptional
maxMax number of retry attempts, before giving up.
When giving up, ctx.run
will throw a TerminalError
wrapping the original error message.
Optional
maxMax duration of retries, before giving up.
When giving up, ctx.run
will throw a TerminalError
wrapping the original error message.
If a number is provided, it will be interpreted as milliseconds.
Optional
maxOptional
maxMax interval between retries.
Retry interval will grow by a factor specified in retryIntervalFactor
.
The default is 10 seconds.
If a number is provided, it will be interpreted as milliseconds.
Optional
maxOptional
retryExponentiation factor to use when computing the next retry delay.
The default value is 2
, meaning retry interval will double at each attempt.
Optional
serde
Initial interval for the first retry attempt. Retry interval will grow by a factor specified in
retryIntervalFactor
.The default is 50 milliseconds.
If a number is provided, it will be interpreted as milliseconds.