fix pool options (#9348)

This commit is contained in:
Pierre Noël 2021-02-08 17:59:36 +01:00 committed by GitHub
parent 781cf2b9c9
commit 2ed1c05302
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,7 +102,7 @@ module.exports = strapi => {
...connection.options,
debug: _.get(connection.options, 'debug', false),
pool: {
min: _.get(connection.options.pool, 'min', 0),
min: _.get(connection.options, 'pool.min', 0),
},
},
strapi.config.hook.settings.knex,