added pool limit and modified logging

This commit is contained in:
2026-03-19 16:06:04 -05:00
parent b76c98b7fc
commit cd5f2efc54
+6 -2
View File
@@ -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 { }