Skip to content

Commit

Permalink
2.0 (#67)
Browse files Browse the repository at this point in the history
* Initial work

* Make progress on custom pool

* Make all original tests pass

* Fix test race

* Fix test when DNS is missing

* Test more error conditions

* Add test for byop

* Add BYOP tests for errors

* Add test for idle client error expunging

* Fix typo

* Replace var with const/let

* Remove var usage

* Fix linting

* Work on connection timeout

* Work on error condition tests

* Remove logging

* Add connection timeout

* Add idle timeout

* Test for returning to client to pool after error

fixes #48

* Add idleTimeout support to native client

* Add pg as peer dependency

fixes #45

* Rename properties

* Fix lint

* use strict

* Add draining to pool.end

* Ensure ending pools drain properly

* Remove yarn.lock

* Remove object-assign

* Remove node 8

* Remove closure for waiter construction

* Ensure client.connect is never sync

* Fix lint

* Change to es6 class

* Code cleanup & lint fixes
  • Loading branch information
brianc committed Jul 14, 2017
1 parent 0c32c57 commit a0eb36d
Show file tree
Hide file tree
Showing 17 changed files with 748 additions and 277 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,3 @@ matrix:
- node_js: "6"
addons:
postgresql: "9.4"
- node_js: "8"
addons:
postgresql: "9.4"

0 comments on commit a0eb36d

Please sign in to comment.