Skip to content

Documents for @litert/xxl-job-integration / Constants / DEFAULT_MAX_QUEUE_DEPTH

Variable: DEFAULT_MAX_QUEUE_DEPTH

const DEFAULT_MAX_QUEUE_DEPTH: 10 = 10

Defined in: src/lib/Constants.ts:76

The default maximum queue depth for a job.

The queue actually only useful with EExecutorBlockStrategy.SERIAL_EXECUTION, while the other two strategies will always keep only one task being executed, and no other tasks in the queue.