Skip to content

Commit

Permalink
fix: reduce max pool connections
Browse files Browse the repository at this point in the history
  • Loading branch information
Kpoke committed Jun 29, 2022
1 parent dfef42c commit fbb686c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/database/knex.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,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 fbb686c

Please sign in to comment.