Split job modules (#5318)
## Context JobsModule is hard to maintain because we provide all the jobs there, including their dependencies. This PR aims to split jobs in dedicated modules.
This commit is contained in:
@ -23,7 +23,7 @@ export class SyncDriver implements MessageQueueDriver {
|
||||
const jobClassName = getJobClassName(jobName);
|
||||
const job: MessageQueueJob<MessageQueueJobData> = this.jobsModuleRef.get(
|
||||
jobClassName,
|
||||
{ strict: true },
|
||||
{ strict: false },
|
||||
);
|
||||
|
||||
await job.handle(data);
|
||||
|
||||
Reference in New Issue
Block a user