We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df48375 commit 2f15f06Copy full SHA for 2f15f06
apps/api/src/cli/cli.module.ts
@@ -16,13 +16,21 @@ import { AuthModule } from '~/core/auth/auth.module';
16
import { FactorydriveModule } from '~/_common/factorydrive';
17
import { IdentitiesCommand } from './identities.command';
18
import { IdentitiesModule } from '~/management/identities/identities.module';
19
+import { EventEmitterModule } from '@nestjs/event-emitter';
20
21
@Module({
22
imports: [
23
ConfigModule.forRoot({
24
isGlobal: true,
25
load: [config],
26
}),
27
+ EventEmitterModule.forRoot({
28
+ wildcard: false,
29
+ delimiter: '.',
30
+ maxListeners: 25,
31
+ verboseMemoryLeak: true,
32
+ ignoreErrors: false,
33
+ }),
34
MongooseModule.forRootAsync({
35
imports: [ConfigModule],
36
inject: [ConfigService],
0 commit comments