Skip to content

Commit

Permalink
Set a knex pool size to 3 - 30
Browse files Browse the repository at this point in the history
  • Loading branch information
3benbox committed Dec 5, 2023
1 parent fd425f6 commit 8c99af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db-connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export async function createDbConnection(dbConfig: Db = config.db): Promise<Knex
connection: dbConfig.connection.connectionString || dbConfig.connection,
debug: dbConfig.debug,
migrations: dbConfig.migrations,

pool: { min: 3, max: 30 },
// In our DB, identifiers have snake case formatting while in our code identifiers have camel case formatting.
// We use the following transformers so we can always use camel case formatting in our code.

Expand Down

0 comments on commit 8c99af6

Please sign in to comment.