Skip to content

Commit

Permalink
fix(core): Add missing jobOptions to a strategy `jobQueueStrategy.add…
Browse files Browse the repository at this point in the history
…` function (#2770)
  • Loading branch information
monrostar authored Apr 8, 2024
1 parent 1a64c5a commit f869a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/job-queue/job-queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class JobQueue<Data extends JobData<Data> = object> {

const isBuffered = await this.jobBufferService.add(job);
if (!isBuffered) {
const addedJob = await this.jobQueueStrategy.add(job);
const addedJob = await this.jobQueueStrategy.add(job, options);
return new SubscribableJob(addedJob, this.jobQueueStrategy);
} else {
const bufferedJob = new Job({
Expand Down

0 comments on commit f869a17

Please sign in to comment.