Documents for @litert/xxl-job-integration / Constants / EExecutorBlockStrategy
Enumeration: EExecutorBlockStrategy
Defined in: src/lib/Constants.ts:52
The strategy for handling task execution when a job already has a task running.
Enumeration Members
COVER_EARLY
COVER_EARLY:
"COVER_EARLY"
Defined in: src/lib/Constants.ts:57
If the job has a running task, kill it, clean up the queue, and run the new one.
DISCARD_LATER
DISCARD_LATER:
"DISCARD_LATER"
Defined in: src/lib/Constants.ts:62
If the job has a running task, discard the new one (mark as failed) and keep the old one running.
SERIAL_EXECUTION
SERIAL_EXECUTION:
"SERIAL_EXECUTION"
Defined in: src/lib/Constants.ts:67
If the job has a running task, wait until it finishes and then run the new one.