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',
|
||||
synchronize: process.env.SINCRONIZAR === 'true',
|
||||
logger: 'advanced-console',
|
||||
logging: 'all',
|
||||
logging: ['error', 'warn','log'],
|
||||
|
||||
extra: {
|
||||
connectionLimit: 10,
|
||||
},
|
||||
}),
|
||||
UsuariosModule,
|
||||
MovimientoModule,
|
||||
@@ -34,4 +38,4 @@ import { AppController } from './app.controller';
|
||||
controllers: [AppController],
|
||||
providers: [AppService],
|
||||
})
|
||||
export class AppModule {}
|
||||
export class AppModule { }
|
||||
|
||||
Reference in New Issue
Block a user