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": {
|
||||
"automock": false,
|
||||
"maxWorkers": 4,
|
||||
"setupFiles": [
|
||||
"./setupJest.js"
|
||||
],
|
||||
|
@ -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,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user