Provider.settings
are used to store task provider-specific settings.
The retry strategy determines what to do in the event of an unsuccessful execution. After each attempt failure, k
, we wait for 2^k * retry_backoff * jitter
seconds before trying the next attempt.
The default retry strategy is no retrying.
Maximum number of attempts at retrying. A max_retries
of 2
implies that there will be at most 3 executions of the task. Note that this is required and must be an integer so unlimited retries are not possible.
Value must be greater or equal to 0
and lesser or equal to 5
The backoff factor. Defaults to 1
.
Value must be strictly greater than 0
and lesser or equal to 600
The maximum wait time regardless of retries and jitters. Defaults to 600
.
Value must be strictly greater than 0
and lesser or equal to 3600
If true
, a uniform random multiplier between 0.75 and 1.25 will be multiplied to the wait time to avoid herd issues. Defaults to true
.
These settings are used during execution to monitor the health and performance of kronos tasks.
No Additional PropertiesDelete the task if the task has no more next execution. Defaults to true
.
Fail if the task spent longer than failif_queued_too_long
seconds in the QUEUED
status. This is useful is the task has a "freshness" requirement. Defaults to infinite time.
Value must be strictly greater than 0
Warn if the task spent longer than warn_if_queued_too_long
seconds in the QUEUED
status. Defaults to 60
seconds.
Value must be strictly greater than 0
Warn if the task spent longer than warn_if_execute_too_long
seconds in the EXECUTE
status. Defaults to 60
seconds.
Value must be strictly greater than 0
Legacy option replaced by report_incident_if_failed
.
Reports an incident when the task execution failed and there are no more retries available. Defaults to false
.
Maximum number of concurrent executions of the same task. When the maximum concurrent executions is reached, the task will be skipped with a warning message. Defaults to 0
, meaning unlimited concurrent executions.
Value must be greater or equal to 0
Default queue to use for the task. Defaults to long
.
Overrides the default time limit (in seconds) for the task. Defaults to 0
, meaning use default.
Value must be greater or equal to 0
Settings for the AnyDesk healthcheck provider.
No Additional PropertiesThe AnyDesk license ID.
Must be at least 1
characters long
The AnyDesk API key.
Must be at least 1
characters long
The key of the BetterUptime heartbeat to use. The heartbeat will only be sent if all the monitored clients are online.
Must be at least 1
characters long
IDs of AnyDesk clients to monitor.
No Additional ItemsMust be at least 1
characters long