1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/packages/unleash-api/lib/db/dbPool.js
2020-02-20 08:30:27 +01:00

11 lines
222 B
JavaScript

'use strict';
const knex = require('knex');
module.exports = function (databaseConnection) {
return knex({
client: 'pg',
connection: databaseConnection,
pool: { min: 2, max: 20 },
});
};