Make PostgreSQL pool size configurable

master
Sven Slootweg 2 years ago
parent 919985bbd2
commit 6e172dd04d

@ -29,7 +29,7 @@ module.exports = function(state) {
create: function createPostgreSQLBackend(options) {
let knex = knexLibrary({
client: "pg",
pool: { min: 0, max: 32 },
pool: { min: 0, max: 32, ... defaultValue(options.pool, {}) },
migrations: { tableName: "srap_knex_migrations" },
connection: options,
... knexSnakeCaseMappers()

Loading…
Cancel
Save