chore: Set database pool size

This commit is contained in:
Faruk AYDIN
2021-11-24 11:04:37 +01:00
committed by Ömer Faruk Aydın
parent 58ba78e52b
commit 9358f6c5b0

View File

@@ -10,6 +10,7 @@ const knexConfig = {
database: appConfig.postgresDatabase,
ssl: appConfig.postgresEnableSsl
},
pool: { min: 0, max: 20 },
migrations: {
directory: __dirname + '/src/db/migrations',
},