Socket
Socket
Sign inDemoInstall

generic-pool

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generic-pool - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0

TODO.md

3

lib/generic-pool.js

@@ -470,2 +470,5 @@ var PriorityQueue = function(size) {

me.getMaxPoolSize = function(){
return factory.max;
}

@@ -472,0 +475,0 @@ // create initial resources (if factory.min > 0)

5

package.json
{
"name": "generic-pool",
"description": "Generic resource pooling for Node.JS",
"version": "2.1.1",
"version": "2.2.0",
"author": "James Cooper <james@bitmechanic.com>",

@@ -12,3 +12,4 @@ "contributors": [

{ "name": "Douglas Christopher Wilson", "email": "doug@somethingdoug.com", "url" : "http://somethingdoug.com/" },
{ "name": "calibr"}
{ "name": "calibr"},
{ "name": "Justin Robinson", "email":"jrobinson@redventures.com>"}
],

@@ -15,0 +16,0 @@ "keywords": ["pool", "pooling", "throttle"],

@@ -23,2 +23,8 @@ [![build status](https://secure.travis-ci.org/coopernurse/node-pool.png)](http://travis-ci.org/coopernurse/node-pool)

2.2.0 - March 26 2015
- Merged #92 - add getMaxPoolSize function (contributed by platypusMaximus)
2.1.1 - July 5 2015
- fix README error about priority queueing (spotted by @kmdm)
2.1.0 - June 19 2014

@@ -320,2 +326,5 @@ - Merged #72 - Add optional returnToHead flag, if true, resources are returned to head of queue (stack like

pool.waitingClientsCount()
// returns number of maxixmum number of resources allowed by ppol
pool.getMaxPoolSize()
```

@@ -322,0 +331,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc