chore: Set database pool size
This commit is contained in:

committed by
Ömer Faruk Aydın

parent
58ba78e52b
commit
9358f6c5b0
@@ -10,6 +10,7 @@ const knexConfig = {
|
|||||||
database: appConfig.postgresDatabase,
|
database: appConfig.postgresDatabase,
|
||||||
ssl: appConfig.postgresEnableSsl
|
ssl: appConfig.postgresEnableSsl
|
||||||
},
|
},
|
||||||
|
pool: { min: 0, max: 20 },
|
||||||
migrations: {
|
migrations: {
|
||||||
directory: __dirname + '/src/db/migrations',
|
directory: __dirname + '/src/db/migrations',
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user