added pool limit and modified logging
This commit is contained in:
+5
-1
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user