Browse Source

Merge pull request #6589 from nocodb/refactor/jobs

refactor: jobs service reference
pull/6586/head
mertmit 1 year ago committed by GitHub
parent
commit
54a48e6490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      packages/nocodb/src/modules/jobs/jobs.module.ts

5
packages/nocodb/src/modules/jobs/jobs.module.ts

@ -1,4 +1,4 @@
import { Module } from '@nestjs/common';
import { forwardRef, Module } from '@nestjs/common';
import { BullModule } from '@nestjs/bull';
// Jobs
@ -34,7 +34,7 @@ import { GlobalModule } from '~/modules/global/global.module';
@Module({
imports: [
GlobalModule,
forwardRef(() => GlobalModule),
DatasModule,
MetasModule,
...(process.env.NC_REDIS_JOB_URL
@ -80,5 +80,6 @@ import { GlobalModule } from '~/modules/global/global.module';
SourceCreateProcessor,
SourceDeleteProcessor,
],
exports: ['JobsService'],
})
export class JobsModule {}

Loading…
Cancel
Save