brianc / node-pg-pool

A connection pool for node-postgres
MIT License
180 stars 64 forks source link

Add connection & query timeout if all clients are checked out #70

Closed brianc closed 7 years ago

brianc commented 7 years ago

This addresses pg#1390.

Ensure connection timeout applies both for new connections and on an exhuasted pool. I also made the library return an error when passing a function as the first param to pool.query - previosuly this threw a sync type error.

brianc commented 7 years ago

Fixed in new release: pg-pool@2.0.2