调度程序重试选项。仅适用于预定功能。
签名:
export interface ScheduleRetryConfig
特性
财产 | 类型 | 描述 |
---|---|---|
最大退避持续时间 | 字符串|表达<字符串> |重置值 | 作业失败后重试之前等待的最长时间。 |
最大加倍次数 | 数量 |表达<数字> |重置值 | 每次重试时应用的最大退避加倍次数。 |
最大重试持续时间 | 字符串|表达<字符串> |重置值 | 重试失败作业的时间限制,从第一次尝试执行的时间开始计算。如果使用ScheduleRetryConfig.retryCount指定,该作业将重试,直到达到两个限制。 |
最小退避持续时间 | 字符串|表达<字符串> |重置值 | 作业失败后重试之前等待的最短时间。 |
重试次数 | 数量 |表达<数字> |重置值 | 系统使用ScheduleRetryConfig.maxDoublings描述的指数退避过程尝试运行作业的次数。 |
ScheduleRetryConfig.maxBackoffDuration
作业失败后重试之前等待的最长时间。
签名:
maxBackoffDuration?: string | Expression<string> | ResetValue;
ScheduleRetryConfig.maxDoublings
每次重试时应用的最大退避加倍次数。
签名:
maxDoublings?: number | Expression<number> | ResetValue;
ScheduleRetryConfig.maxRetryDuration
重试失败作业的时间限制,从第一次尝试执行的时间开始计算。
如果使用ScheduleRetryConfig.retryCount指定,该作业将重试,直到达到两个限制。
签名:
maxRetryDuration?: string | Expression<string> | ResetValue;
ScheduleRetryConfig.minBackoffDuration
作业失败后重试之前等待的最短时间。
签名:
minBackoffDuration?: string | Expression<string> | ResetValue;
ScheduleRetryConfig.retryCount
系统使用ScheduleRetryConfig.maxDoublings描述的指数退避过程尝试运行作业的次数。
签名:
retryCount?: number | Expression<number> | ResetValue;