From 64c3332bf89ce38519927959e367bb533d289bff Mon Sep 17 00:00:00 2001 From: dimfeld Date: Tue, 21 Oct 2014 20:08:08 -0700 Subject: [PATCH] Updated FAQ (markdown) --- FAQ.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/FAQ.md b/FAQ.md index bf3a2a8..ce24560 100644 --- a/FAQ.md +++ b/FAQ.md @@ -193,4 +193,6 @@ pg.connect(): It takes time to reconnect ? ### 16. (New Question) Are queries asynchronous, or do they block? Can this behavior be overridden if desired? -### 17. (New Question) What happens if I ask for a connection and the pool is already empty? will it throw an error or wait until a connection becomes available? \ No newline at end of file +### 17. What happens if I ask for a connection and the pool is already empty? will it throw an error or wait until a connection becomes available? + +It will wait, and call your callback with a connection after one becomes available. This package uses the [generic-pool](https://github.com/coopernurse/node-pool) package to provide this behavior. \ No newline at end of file