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.
CUBEJS_DB_MAX_POOL
1 parent 035d89e commit fb0d34bCopy full SHA for fb0d34b
packages/cubejs-postgres-driver/driver/PostgresDriver.js
@@ -25,7 +25,7 @@ class PostgresDriver extends BaseDriver {
25
super();
26
this.config = config || {};
27
this.pool = new Pool({
28
- max: 8,
+ max: process.env.CUBEJS_DB_MAX_POOL && parseInt(process.env.CUBEJS_DB_MAX_POOL, 10) || 8,
29
idleTimeoutMillis: 30000,
30
host: process.env.CUBEJS_DB_HOST,
31
database: process.env.CUBEJS_DB_NAME,
0 commit comments