baseQueueOptions > baseWorkerOptions

This commit is contained in:
Marie 2025-04-24 18:57:32 +00:00
parent cdf9921f2c
commit e6888131b7

View file

@ -540,7 +540,7 @@ export class QueueProcessorService implements OnApplicationShutdown {
//#region schedule note post
{
this.schedulerNotePostQueueWorker = new Bull.Worker(QUEUE.SCHEDULE_NOTE_POST, (job) => this.scheduleNotePostProcessorService.process(job), {
...baseQueueOptions(this.config, QUEUE.SCHEDULE_NOTE_POST),
...baseWorkerOptions(this.config, QUEUE.SCHEDULE_NOTE_POST),
autorun: false,
});
}