Scheduler retry options. Applies only to scheduled functions.
Signature:
export interface ScheduleRetryConfig
Properties
Property | Type | Description |
---|---|---|
maxBackoffDuration | string | Expression<string> | ResetValue | The maximum amount of time to wait before retrying a job after it fails. |
maxDoublings | number | Expression<number> | ResetValue | The max number of backoff doubling applied at each retry. |
maxRetryDuration | string | Expression<string> | ResetValue | The time limit for retrying a failed job, measured from time when an execution was first attempted.If specified with ScheduleRetryConfig.retryCount, the job will be retried until both limits are reached. |
minBackoffDuration | string | Expression<string> | ResetValue | The minimum amount of time to wait before retrying a job after it fails. |
retryCount | number | Expression<number> | ResetValue | The number of attempts that the system will make to run a job using the exponential backoff procedure described by ScheduleRetryConfig.maxDoublings. |
ScheduleRetryConfig.maxBackoffDuration
The maximum amount of time to wait before retrying a job after it fails.
Signature:
maxBackoffDuration?: string | Expression<string> | ResetValue;
ScheduleRetryConfig.maxDoublings
The max number of backoff doubling applied at each retry.
Signature:
maxDoublings?: number | Expression<number> | ResetValue;
ScheduleRetryConfig.maxRetryDuration
The time limit for retrying a failed job, measured from time when an execution was first attempted.
If specified with ScheduleRetryConfig.retryCount, the job will be retried until both limits are reached.
Signature:
maxRetryDuration?: string | Expression<string> | ResetValue;
ScheduleRetryConfig.minBackoffDuration
The minimum amount of time to wait before retrying a job after it fails.
Signature:
minBackoffDuration?: string | Expression<string> | ResetValue;
ScheduleRetryConfig.retryCount
The number of attempts that the system will make to run a job using the exponential backoff procedure described by ScheduleRetryConfig.maxDoublings.
Signature:
retryCount?: number | Expression<number> | ResetValue;