Skip to content

Commit

Permalink
fix(queue): change _jobScheduler from private to protected for extens…
Browse files Browse the repository at this point in the history
…ion (#2920)
  • Loading branch information
roggervalf authored Nov 22, 2024
1 parent a9ed0c1 commit 34c2348
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/classes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export * from './child-processor';
export * from './errors';
export * from './flow-producer';
export * from './job';
export * from './job-scheduler';
// export * from './main'; this file must not be exported
// export * from './main-worker'; this file must not be exported
export * from './queue-base';
Expand Down
2 changes: 1 addition & 1 deletion src/classes/queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export class Queue<
protected libName = 'bullmq';

private _repeat?: Repeat; // To be deprecated in v6 in favor of JobScheduler
private _jobScheduler?: JobScheduler;
protected _jobScheduler?: JobScheduler;

constructor(
name: string,
Expand Down

0 comments on commit 34c2348

Please sign in to comment.