Browse modulesBackground jobsInterfaces
Interface: CreateBackgroundJobQueueOptions
Defined in: server/background-jobs/create-background-job-queue.ts:8
Extends
Properties
connection
connection: ConnectionOptions;Defined in: server/messaging/create-queue.ts:6
Inherited from
defaultJobOptions?
optional defaultJobOptions?: DefaultJobOptions;Defined in: server/messaging/create-queue.ts:8
Inherited from
CreateQueueOptions.defaultJobOptions
organizationId
organizationId: string;Defined in: server/background-jobs/create-background-job-queue.ts:9
prefix?
optional prefix?: string;Defined in: server/messaging/create-queue.ts:7
Inherited from
repo?
optional repo?: BackgroundJobRunRepository;Defined in: server/background-jobs/create-background-job-queue.ts:16
Opt-in job-runs audit repo. When set, a queued row is written
synchronously after each successful add/addBulk — at the producer,
where the org id and job name are known without any Redis round-trip.
Failures are logged, never thrown (enqueueing always wins).