generic-pool
Advanced tools
Comparing version 2.4.3 to 2.4.4
# Change Log | ||
## [2.4.4] - November 7 2016 | ||
- drain is now always async to prevent zalgo-ing (@thefourtheye) | ||
## [2.4.3] - October 15 2016 | ||
@@ -112,3 +115,5 @@ - Use domain.bind to preserve domain context (@LewisJEllis) | ||
[unreleased]: https://github.com/coopernurse/node-pool/compare/v2.4.2...HEAD | ||
[unreleased]: https://github.com/coopernurse/node-pool/compare/v2.4.4...HEAD | ||
[2.4.4]: https://github.com/coopernurse/node-pool/compare/v2.4.3...v2.4.4 | ||
[2.4.3]: https://github.com/coopernurse/node-pool/compare/v2.4.2...v2.4.3 | ||
[2.4.2]: https://github.com/coopernurse/node-pool/compare/v2.4.1...v2.4.2 | ||
@@ -115,0 +120,0 @@ [2.4.1]: https://github.com/coopernurse/node-pool/compare/v2.4.0...v2.4.1 |
@@ -444,2 +444,10 @@ /** | ||
function invoke (cb) { | ||
if (typeof setImmediate === 'function') { | ||
setImmediate(cb) | ||
} else { | ||
setTimeout(cb, 0) | ||
} | ||
} | ||
/** | ||
@@ -467,3 +475,3 @@ * Disallow any new requests and let the request backlog dissapate. | ||
} else if (callback) { | ||
callback() | ||
invoke(callback) | ||
} | ||
@@ -499,3 +507,3 @@ } | ||
if (callback) { | ||
callback() | ||
invoke(callback) | ||
} | ||
@@ -502,0 +510,0 @@ } |
{ | ||
"name": "generic-pool", | ||
"description": "Generic resource pooling for Node.JS", | ||
"version": "2.4.3", | ||
"version": "2.4.4", | ||
"author": "James Cooper <james@bitmechanic.com>", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -1,2 +0,2 @@ | ||
[![build status](https://secure.travis-ci.org/coopernurse/node-pool.png)](http://travis-ci.org/coopernurse/node-pool) | ||
[![Build Status](https://travis-ci.org/coopernurse/node-pool.svg?branch=v2.4)](https://travis-ci.org/coopernurse/node-pool) | ||
@@ -8,5 +8,7 @@ # About | ||
This is the legacy [v2.4 branch](https://github.com/coopernurse/node-pool/tree/v2.4). If possible it's recommended yo upgrade to the version 3 of generic pool as it's most likely that this branch will only be recieving bug fixes. Minor version upgrades are unlikely at this point. | ||
## Installation | ||
$ npm install generic-pool | ||
$ npm install generic-pool@2.4 | ||
@@ -13,0 +15,0 @@ ## History |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60279
1227
301