tasks.RetryConfig interface

How a task should be retried in the event of a non-2xx return.

Signature:

export interface RetryConfig 

Properties

Property Type Description
maxAttempts number | Expression<number> | ResetValue Maximum number of times a request should be attempted. If left unspecified, will default to 3.
maxBackoffSeconds number | Expression<number> | ResetValue The maximum amount of time to wait between attempts. If left unspecified will default to 1hr.
maxDoublings number | Expression<number> | ResetValue The maximum number of times to double the backoff between retries. If left unspecified will default to 16.
maxRetrySeconds number | Expression<number> | ResetValue Maximum amount of time for retrying failed task. If left unspecified will retry indefinitely.
minBackoffSeconds number | Expression<number> | ResetValue The minimum time to wait between attempts. If left unspecified will default to 100ms.

tasks.RetryConfig.maxAttempts

Maximum number of times a request should be attempted. If left unspecified, will default to 3.

Signature:

maxAttempts?: number | Expression<number> | ResetValue;

tasks.RetryConfig.maxBackoffSeconds

The maximum amount of time to wait between attempts. If left unspecified will default to 1hr.

Signature:

maxBackoffSeconds?: number | Expression<number> | ResetValue;

tasks.RetryConfig.maxDoublings

The maximum number of times to double the backoff between retries. If left unspecified will default to 16.

Signature:

maxDoublings?: number | Expression<number> | ResetValue;

tasks.RetryConfig.maxRetrySeconds

Maximum amount of time for retrying failed task. If left unspecified will retry indefinitely.

Signature:

maxRetrySeconds?: number | Expression<number> | ResetValue;

tasks.RetryConfig.minBackoffSeconds

The minimum time to wait between attempts. If left unspecified will default to 100ms.

Signature:

minBackoffSeconds?: number | Expression<number> | ResetValue;