Skip to content

Commit

Permalink
bump version and changelog
Browse files Browse the repository at this point in the history
fix readme
  • Loading branch information
James Butler committed Dec 28, 2016
1 parent db485c7 commit ff12236
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## [3.1.6] - December 28 2016
- fix #173 where pool would not attempt to dispense reources upon `pool.destroy`
- fix some out of date readme section
- fix test warning for unhandled rejection on dispense

## [3.1.5] - December 20 2016
- fix drain code to correctly wait on borrowed resources (@drew-r)
- fix drain example in readme (@watson)
Expand Down Expand Up @@ -145,7 +150,8 @@
- First NPM release

=======
[unreleased]: https://github.com/coopernurse/node-pool/compare/v3.1.5...HEAD
[unreleased]: https://github.com/coopernurse/node-pool/compare/v3.1.6...HEAD
[3.1.6]: https://github.com/coopernurse/node-pool/compare/v3.1.5...v3.1.6
[3.1.5]: https://github.com/coopernurse/node-pool/compare/v3.1.4...v3.1.5
[3.1.4]: https://github.com/coopernurse/node-pool/compare/v3.1.3...v3.1.4
[3.1.3]: https://github.com/coopernurse/node-pool/compare/v3.1.2...v3.1.3
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,13 +301,19 @@ The following properties will let you get information about the pool:

```js

// How many many more resources can the pool manage/create
pool.spareResourceCapacity

// returns number of resources in the pool regardless of
// whether they are free or in use
pool.size

// returns number of unused resources in the pool
pool.available

// number of resources that are currently acquired by userland code
pool.borrowed

// returns number of callers waiting to acquire a resource
pool.pending

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "generic-pool",
"description": "Generic resource pooling for Node.JS",
"version": "3.1.5",
"version": "3.1.6",
"author": "James Cooper <james@bitmechanic.com>",
"contributors": [
{
Expand Down

0 comments on commit ff12236

Please sign in to comment.