mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-08-21 10:33:37 +00:00
baseQueueOptions > baseWorkerOptions
This commit is contained in:
parent
cdf9921f2c
commit
e6888131b7
1 changed files with 1 additions and 1 deletions
|
@ -540,7 +540,7 @@ export class QueueProcessorService implements OnApplicationShutdown {
|
||||||
//#region schedule note post
|
//#region schedule note post
|
||||||
{
|
{
|
||||||
this.schedulerNotePostQueueWorker = new Bull.Worker(QUEUE.SCHEDULE_NOTE_POST, (job) => this.scheduleNotePostProcessorService.process(job), {
|
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,
|
autorun: false,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue