SqlJobQueueStrategy
A JobQueueStrategy which uses the configured SQL database to persist jobs in the queue. This strategy is used by the DefaultJobQueuePlugin.
-
Extends:
PollingJobQueueStrategy -
Implements:
InspectableJobQueueStrategy
init
method
(injector: Injector) => destroy
method
() => add
next
method
(queueName: string) => Promise<Job | undefined>update
method
(job: Job<any>) => Promise<void>findMany
method
(options?: JobListOptions) => Promise<PaginatedList<Job>>findOne
findManyById
removeSettledJobs
method
(queueNames: string[] = [], olderThan?: Date) => Was this chapter helpful?