generic-pool
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -99,2 +99,3 @@ var PriorityQueue = function(size) { | ||
removeIdleScheduled = false, | ||
removeIdleTimer = null, | ||
draining = false, | ||
@@ -180,3 +181,3 @@ | ||
removeIdleScheduled = true; | ||
setTimeout(removeIdle, reapInterval); | ||
removeIdleTimer = setTimeout(removeIdle, reapInterval); | ||
} | ||
@@ -348,2 +349,4 @@ } | ||
} | ||
removeIdleScheduled = false; | ||
clearTimeout(removeIdleTimer); | ||
if (callback) { | ||
@@ -350,0 +353,0 @@ callback(); |
{ | ||
"name": "generic-pool", | ||
"description": "Generic resource pooling for Node.JS", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"author": "James Cooper <james@bitmechanic.com>", | ||
@@ -10,3 +10,4 @@ "contributors": [ | ||
{ "name": "Gary Dusbabek" }, | ||
{ "name": "Tom MacWright", "url" : "http://www.developmentseed.org/" } | ||
{ "name": "Tom MacWright", "url" : "http://www.developmentseed.org/" }, | ||
{ "name": "Douglas Christopher Wilson", "email": "doug@somethingdoug.com", "url" : "http://somethingdoug.com/" } | ||
], | ||
@@ -13,0 +14,0 @@ "keywords": ["pool", "pooling", "throttle"], |
@@ -13,2 +13,5 @@ | ||
1.0.12 - June 27 2012 | ||
- Merged #37 (Clear remove idle timer after destroyAllNow - contributed by dougwilson) | ||
1.0.11 - June 17 2012 | ||
@@ -15,0 +18,0 @@ - Merged #36 ("pooled" method to perform function decoration for pooled methods - contributed by cosbynator) |
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
37510
759
243
1