1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00

chore: pool min 1, max 4 DB connections & limit Jest workers to 4 (#1069)

This commit is contained in:
Martin Lehmann 2021-10-26 19:50:13 +02:00 committed by GitHub
parent 5e32403e93
commit 3030666f18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -47,6 +47,7 @@
},
"jest": {
"automock": false,
"maxWorkers": 4,
"setupFiles": [
"./setupJest.js"
],

View File

@ -84,7 +84,7 @@ export default async function init(
const config = createTestConfig({
db: {
...getDbConfig(),
pool: { min: 2, max: 8 },
pool: { min: 1, max: 4 },
schema: databaseSchema,
ssl: false,
},