Persistent-jobs (Section)#
Path: /processing/persistent-jobs
Configuration for the persistent jobs system.
Parameters#
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| data-source | leafref → /facilities/data-sources/data-source/id | optional | - | The data source used to persist and manage persistent jobs. If not set, the caching-services data source will be used. This data source needs to support the PersistentJobDataAccessProvider interface. |
| polling-interval | uint16 | optional | 5 | The interval in seconds at which the system polls for new jobs to execute. The default is 5. |
| max-retries | uint16 | optional | 3 | The maximum retries allowed for tasks that fail with RetriableFailureException. The default is 3. |
| heartbeat-interval | uint16 | optional | 5 | The interval in seconds at which the system updates the heartbeat of running jobs. This signals that the node executing the job is still alive. A running job is considered stale (and reset for re-execution) after five consecutive missed heartbeats. The default is 5. |
| retention-period | uint32 | optional | 43200 | The duration in seconds after which completed jobs are automatically deleted from the database. Set to 0 to disable automatic cleanup. The default is 43200 (12 hours). |