fix: add RedisModule to CollabAppModule

This commit is contained in:
Philipinho 2026-02-09 18:50:31 -08:00
parent 3a9bdfbb06
commit 7861b5b186

View file

@ -9,6 +9,8 @@ import { EventEmitterModule } from '@nestjs/event-emitter';
import { HealthModule } from '../../integrations/health/health.module'; import { HealthModule } from '../../integrations/health/health.module';
import { CollaborationController } from './collaboration.controller'; import { CollaborationController } from './collaboration.controller';
import { LoggerModule } from '../../common/logger/logger.module'; import { LoggerModule } from '../../common/logger/logger.module';
import { RedisModule } from '@nestjs-labs/nestjs-ioredis';
import { RedisConfigService } from '../../integrations/redis/redis-config.service';
@Module({ @Module({
imports: [ imports: [
@ -19,6 +21,9 @@ import { LoggerModule } from '../../common/logger/logger.module';
QueueModule, QueueModule,
HealthModule, HealthModule,
EventEmitterModule.forRoot(), EventEmitterModule.forRoot(),
RedisModule.forRootAsync({
useClass: RedisConfigService,
}),
], ],
controllers: [ controllers: [
AppController, AppController,