Skip to content

Commit

Permalink
fix: reduce db max pool
Browse files Browse the repository at this point in the history
  • Loading branch information
Kpoke authored Jul 10, 2022
1 parent 76384b3 commit addaacb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/infra/database/knex.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const knexConfig = {
client: 'pg',
debug: process.env.NODE_LOG_LEVEL === 'debug',
connection,
pool: { min: 0, max: 100 },
pool: { min: 0, max: 20 },
};

log.debug(process.env.DATABASE_SCHEMA);
Expand Down

0 comments on commit addaacb

Please sign in to comment.