Skip to content

Commit f0cb4bb

Browse files
committed
docs: expand pool acquireTimeout option docs
closes #2105
1 parent 5e96be5 commit f0cb4bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,9 @@ constructor. In addition to those options pools accept a few extras:
381381

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

0 commit comments

Comments
 (0)