Browse Source

FIX | Fix max listeners warnings

merge-requests/241/head
Oksana Stepanenko 2 years ago
parent
commit
35410542c2
  1. 2
      src/app.module.ts

2
src/app.module.ts

@ -35,7 +35,7 @@ import { OldDatabaseSeedModule } from './domain/old-database-seed/old-database-s @@ -35,7 +35,7 @@ import { OldDatabaseSeedModule } from './domain/old-database-seed/old-database-s
const oldDbName = getEnv('OLD_DATABASE_DB')
const imports = [
EventEmitterModule.forRoot(),
EventEmitterModule.forRoot({ maxListeners: 50 }),
JwtModule.forRoot($config.getJwtConfig()),
DatabaseModule.forRoot(...$config.getDatabaseConfig()),
RedisModule.forRoot($config.getRedisConfig()),

Loading…
Cancel
Save