diff --git a/src/config.ts b/src/config.ts index 2aa55ef..a7cc7d3 100644 --- a/src/config.ts +++ b/src/config.ts @@ -77,7 +77,8 @@ addDefaults(config, { host: "", password: "", port: 5432, - max: 150 + max: 150, + min: 10 }, dumpDatabase: { enabled: false, diff --git a/src/databases/databases.ts b/src/databases/databases.ts index 074ea52..48001fa 100644 --- a/src/databases/databases.ts +++ b/src/databases/databases.ts @@ -23,6 +23,7 @@ if (config.mysql) { password: config.postgres?.password, port: config.postgres?.port, max: config.postgres?.max, + min: config.postgres?.min, } }); @@ -39,6 +40,7 @@ if (config.mysql) { password: config.postgres?.password, port: config.postgres?.port, max: config.postgres?.max, + min: config.postgres?.min, } }); } else {