added pool limit and modified logging
This commit is contained in:
+6
-2
@@ -24,7 +24,11 @@ import { AppController } from './app.controller';
|
|||||||
autoLoadEntities: process.env.AUTOLOAD === 'true',
|
autoLoadEntities: process.env.AUTOLOAD === 'true',
|
||||||
synchronize: process.env.SINCRONIZAR === 'true',
|
synchronize: process.env.SINCRONIZAR === 'true',
|
||||||
logger: 'advanced-console',
|
logger: 'advanced-console',
|
||||||
logging: 'all',
|
logging: ['error', 'warn','log'],
|
||||||
|
|
||||||
|
extra: {
|
||||||
|
connectionLimit: 10,
|
||||||
|
},
|
||||||
}),
|
}),
|
||||||
UsuariosModule,
|
UsuariosModule,
|
||||||
MovimientoModule,
|
MovimientoModule,
|
||||||
@@ -34,4 +38,4 @@ import { AppController } from './app.controller';
|
|||||||
controllers: [AppController],
|
controllers: [AppController],
|
||||||
providers: [AppService],
|
providers: [AppService],
|
||||||
})
|
})
|
||||||
export class AppModule {}
|
export class AppModule { }
|
||||||
|
|||||||
Reference in New Issue
Block a user