1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-04-06 01:15:28 +02:00

fix: adjust db-pool a bit

This commit is contained in:
Ivar Conradi Østhus 2022-12-14 19:42:01 +01:00
parent 09c87c755f
commit 2223cace41
No known key found for this signature in database
GPG Key ID: 14F51E4841AF1DE1

View File

@ -35,6 +35,7 @@ async function resetDatabase(knex) {
knex.table('addons').del(),
knex.table('users').del(),
knex.table('reset_tokens').del(),
// knex.table('settings').del(),
]);
}
@ -85,7 +86,7 @@ export default async function init(
const config = createTestConfig({
db: {
...getDbConfig(),
pool: { min: 1, max: 4 },
pool: { min: 1, max: 5 },
schema: databaseSchema,
ssl: false,
},