Skip to content

Commit

Permalink
default timeout to 60s
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Stewmon committed Sep 5, 2017
1 parent e5a43c3 commit b8af249
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/client.js
Expand Up @@ -183,6 +183,8 @@ assign(Client.prototype, {
].map(parseInt).filter(x => x > 0);
if (timeouts.length > 0) {
poolConfig.acquireTimeoutMillis = Math.min(...timeouts);
} else {
poolConfig.acquireTimeoutMillis = 60000
}

return {
Expand Down

0 comments on commit b8af249

Please sign in to comment.