We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f122949 commit 207725aCopy full SHA for 207725a
index.js
@@ -16,7 +16,7 @@ exports.createPool = async (poolName, allowMultiStatements = false) => {
16
const srcCfg = config.DATASOURCES[poolName];
17
if (srcCfg) {
18
pools[poolName] = mysql.createPool({
19
- connectionLimit: 5,
+ connectionLimit: srcCfg.DB_CONNECTION_LIMIT || 5,
20
host: srcCfg.DB_HOST,
21
user: srcCfg.DB_USER,
22
password: srcCfg.DB_PASSWORD,
0 commit comments