TaskRunConfigWithDefaults
The TaskRunConfigWithDefaults
type represents the full configuration for a task run, including any defaults of those you yourself have not provided.
{
maxDuration: DurationMs;
maxRetries: number;
retryDelay: DurationMs | string;
}
Type | Description | |
---|---|---|
maxDuration | DurationMs | The maximum time in milliseconds that a task can run for before a signal is sent to abort it, defaulting to 1000. |
maxRetries | number | The number of times that a task can will be retried if it fails or times out, defaulting to 0. |
retryDelay | DurationMs | string | The duration between task run retries in milliseconds, defaulting to 1000. This can also be a string of comma delimited numbers if you want to implement a back-off strategy, for example. |
This has properties which let you indicate the duration of task runs and their retry behaviors, for example.
Since
v1.0.0