Skip to main content

types.SchedulerConfig

execution_limit_backoffinteger<int64>

ExecutionLimitBackoff is the duration to wait before creating a new scheduling run when hitting execution limits.

Possible values: [-9223372036854776000, 9223372036854776000, 1, 1000, 1000000, 1000000000, 60000000000, 3600000000000]

max_executions_per_evaluationinteger

MaxExecutionsPerEvaluation is the safety ceiling on total scheduler operations per evaluation (creates + stops + updates + failures). Plans exceeding the ceiling fall back to the delayed-evaluation self-heal path.

max_executions_per_transactioninteger

MaxExecutionsPerTransaction is the maximum number of new-execution writes per planner transaction. The planner splits a plan's NewExecutions into batches of this size, committing each in its own transaction; a final transaction commits job state, follow-up evaluations, and marks the evaluation complete.

queue_backoffinteger<int64>

QueueBackoff specifies the time to wait before retrying a failed job.

Possible values: [-9223372036854776000, 9223372036854776000, 1, 1000, 1000000, 1000000000, 60000000000, 3600000000000]

queue_timeout_neverinteger<int64>

DefaultQueueTimeoutNeverRestart is the default queue timeout for jobs with "never" restart policy. Batch jobs get fast feedback when no matching nodes exist. Set to 0 for no default (wait indefinitely).

Possible values: [-9223372036854776000, 9223372036854776000, 1, 1000, 1000000, 1000000000, 60000000000, 3600000000000]

queue_timeout_otherinteger<int64>

DefaultQueueTimeoutOtherPolicies is the default queue timeout for "always" or "on-failure" restart policies. Services wait for matching nodes (e.g., auto-scaling scenarios). Set to 0 for no default (wait indefinitely).

Possible values: [-9223372036854776000, 9223372036854776000, 1, 1000, 1000000, 1000000000, 60000000000, 3600000000000]

worker_countinteger

WorkerCount specifies the number of concurrent workers for job scheduling.

types.SchedulerConfig
{
"execution_limit_backoff": -9223372036854776000,
"max_executions_per_evaluation": 0,
"max_executions_per_transaction": 0,
"queue_backoff": -9223372036854776000,
"queue_timeout_never": -9223372036854776000,
"queue_timeout_other": -9223372036854776000,
"worker_count": 0
}