Skip to content

Commit

Permalink
feat(mysql-driver): CUBEJS_DB_MAX_POOL env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
paveltiunov committed Mar 18, 2020
1 parent 2dbf302 commit e67e0c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cubejs-mysql-driver/driver/MySqlDriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class MySqlDriver extends BaseDriver {
}
}, {
min: 0,
max: 8,
max: process.env.CUBEJS_DB_MAX_POOL && parseInt(process.env.CUBEJS_DB_MAX_POOL, 10) || 8,
evictionRunIntervalMillis: 10000,
softIdleTimeoutMillis: 30000,
idleTimeoutMillis: 30000,
Expand Down

0 comments on commit e67e0c7

Please sign in to comment.