mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-18 01:18:23 +02:00
fix: adjust db-pool a bit
This commit is contained in:
parent
09c87c755f
commit
2223cace41
@ -35,6 +35,7 @@ async function resetDatabase(knex) {
|
|||||||
knex.table('addons').del(),
|
knex.table('addons').del(),
|
||||||
knex.table('users').del(),
|
knex.table('users').del(),
|
||||||
knex.table('reset_tokens').del(),
|
knex.table('reset_tokens').del(),
|
||||||
|
// knex.table('settings').del(),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -85,7 +86,7 @@ export default async function init(
|
|||||||
const config = createTestConfig({
|
const config = createTestConfig({
|
||||||
db: {
|
db: {
|
||||||
...getDbConfig(),
|
...getDbConfig(),
|
||||||
pool: { min: 1, max: 4 },
|
pool: { min: 1, max: 5 },
|
||||||
schema: databaseSchema,
|
schema: databaseSchema,
|
||||||
ssl: false,
|
ssl: false,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user