Persistent-jobs (Section)#

Path: /processing/persistent-jobs

Configuration for the persistent jobs system.

Parameters#

NameTypeRequiredDefaultDescription
data-sourceleafref → /facilities/data-sources/data-source/idoptional-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-intervaluint16optional5The interval in seconds at which the system polls for new jobs to execute. The default is 5.
max-retriesuint16optional3The maximum retries allowed for tasks that fail with RetriableFailureException. The default is 3.
heartbeat-intervaluint16optional5The 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-perioduint32optional43200The 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).

Was this helpful?