Skip to content

Commit

Permalink
docs: expand pool acquireTimeout option docs
Browse files Browse the repository at this point in the history
closes #2105
  • Loading branch information
dougwilson committed Apr 18, 2019
1 parent 5e96be5 commit f0cb4bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,9 @@ constructor. In addition to those options pools accept a few extras:

* `acquireTimeout`: The milliseconds before a timeout occurs during the connection
acquisition. This is slightly different from `connectTimeout`, because acquiring
a pool connection does not always involve making a connection. (Default: `10000`)
a pool connection does not always involve making a connection. If a connection
request is queued, the time the request spends in the queue does not count
towards this timeout. (Default: `10000`)
* `waitForConnections`: Determines the pool's action when no connections are
available and the limit has been reached. If `true`, the pool will queue the
connection request and call it when one becomes available. If `false`, the
Expand Down

0 comments on commit f0cb4bb

Please sign in to comment.