Skip to content

Commit

Permalink
Merge branch 'main'
Browse files Browse the repository at this point in the history
  • Loading branch information
demshy committed Sep 15, 2024
2 parents 93305b2 + 5b4324c commit 7e40648
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/activities/activities.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import { Sector } from '../crags/entities/sector.entity';
import { Country } from '../crags/entities/country.entity';
import { BullModule } from '@nestjs/bull';
import { CragsModule } from '../crags/crags.module';
import { env } from 'process';

@Module({
imports: [
Expand All @@ -40,6 +41,7 @@ import { CragsModule } from '../crags/crags.module';
forwardRef(() => UsersModule),
BullModule.registerQueue({
name: 'summary',
prefix: `bull:${env.ENVIRONMENT}`,
}),
CragsModule,
],
Expand Down
2 changes: 2 additions & 0 deletions src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ import EntityCacheSubscriber from './core/utils/entity-cache/entity-cache.subscr
import { SnakeNamingStrategy } from 'typeorm-naming-strategies';
import { BullModule } from '@nestjs/bull';
import { Parking } from './crags/entities/parking.entity';
import { env } from 'process';

@Module({
imports: [
Expand Down Expand Up @@ -134,6 +135,7 @@ import { Parking } from './crags/entities/parking.entity';
}),
BullModule.registerQueue({
name: 'summary',
prefix: `bull:${env.ENVIRONMENT}`,
}),
],
providers: [],
Expand Down
2 changes: 2 additions & 0 deletions src/audit/audit.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { ActivityRoute } from '../activities/entities/activity-route.entity';
import { BullModule } from '@nestjs/bull';
import { UsersModule } from '../users/users.module';
import { CragsModule } from '../crags/crags.module';
import { env } from 'process';

@Module({
imports: [
Expand All @@ -41,6 +42,7 @@ import { CragsModule } from '../crags/crags.module';
AuthModule,
BullModule.registerQueue({
name: 'summary',
prefix: `bull:${env.ENVIRONMENT}`,
}),
forwardRef(() => UsersModule),
forwardRef(() => CragsModule),
Expand Down
2 changes: 2 additions & 0 deletions src/crags/crags.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ import { ActivityRoutesService } from '../activities/services/activity-routes.se
import { ActivitiesModule } from '../activities/activities.module';
import { ClubMember } from '../users/entities/club-member.entity';
import { Club } from '../users/entities/club.entity';
import { env } from 'process';

@Module({
imports: [
Expand Down Expand Up @@ -109,6 +110,7 @@ import { Club } from '../users/entities/club.entity';
forwardRef(() => AuditModule),
BullModule.registerQueue({
name: 'summary',
prefix: `bull:${env.ENVIRONMENT}`,
}),
],
providers: [
Expand Down

0 comments on commit 7e40648

Please sign in to comment.