Skip to content

Commit

Permalink
set acquireTimeout on generic pool
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl Wiggisser committed Sep 26, 2017
1 parent db9ea99 commit fd49c61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ class ConnectionPool extends EventEmitter {
}, Object.assign({
max: 10,
min: 0,
acquireTimeoutMillis: this.config.connectionTimeout || this.config.timeout || 15000,
evictionRunIntervalMillis: 1000,
idleTimeoutMillis: 30000,
testOnBorrow: true
Expand Down

0 comments on commit fd49c61

Please sign in to comment.