Browse Source

fix(job-queue-plugin): Fix ignored values from BullMQ workerOptions (#3440)

Száray Bálint 10 months ago
parent
commit
a9aea249cf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/job-queue-plugin/src/bullmq/bullmq-job-queue-strategy.ts

+ 1 - 0
packages/job-queue-plugin/src/bullmq/bullmq-job-queue-strategy.ts

@@ -57,6 +57,7 @@ export class BullMQJobQueueStrategy implements InspectableJobQueueStrategy {
         this.options = {
             ...options,
             workerOptions: {
+                ...options.workerOptions,
                 removeOnComplete: options.workerOptions?.removeOnComplete ?? {
                     age: 60 * 60 * 24 * 30,
                     count: 5000,