Skip to content

Commit

Permalink
Send whole poolConfig to generic-pool (for idleTimeoutMillis etc)
Browse files Browse the repository at this point in the history
  • Loading branch information
wubzz committed Jun 16, 2017
1 parent be0d380 commit fbcb076
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/client.js
Expand Up @@ -172,10 +172,7 @@ assign(Client.prototype, {
poolConfig = defaults(poolConfig, {min: 2, max: 10});

return {
config: {
min: poolConfig.min,
max: poolConfig.max,
},
config: poolConfig,
factory: {
create: () => {
return this.acquireRawConnection()
Expand Down

0 comments on commit fbcb076

Please sign in to comment.