diff --git a/src/db.ts b/src/db.ts index 471d58fe..0dd9435a 100644 --- a/src/db.ts +++ b/src/db.ts @@ -9,6 +9,10 @@ export const client = Knex({ password: process.env.MYSQL_PASSWORD, database: process.env.MYSQL_DATABASE, }, + pool: { + min: 2, + max: 40, + } }); await client.schema.createTableIfNotExists('key_value', function (table) {