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:
parent
5e32403e93
commit
3030666f18
@ -47,6 +47,7 @@
|
|||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
"automock": false,
|
"automock": false,
|
||||||
|
"maxWorkers": 4,
|
||||||
"setupFiles": [
|
"setupFiles": [
|
||||||
"./setupJest.js"
|
"./setupJest.js"
|
||||||
],
|
],
|
||||||
|
@ -84,7 +84,7 @@ export default async function init(
|
|||||||
const config = createTestConfig({
|
const config = createTestConfig({
|
||||||
db: {
|
db: {
|
||||||
...getDbConfig(),
|
...getDbConfig(),
|
||||||
pool: { min: 2, max: 8 },
|
pool: { min: 1, max: 4 },
|
||||||
schema: databaseSchema,
|
schema: databaseSchema,
|
||||||
ssl: false,
|
ssl: false,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user