Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

redis-connection-pool

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis-connection-pool - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

2

package.json
{
"name": "redis-connection-pool",
"version": "1.0.1",
"version": "1.1.0",
"description": "a redis client connection pool",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -31,3 +31,6 @@ node-redis-connection-pool

max_clients: 30, //defalut
perform_checks: false //checks for needed push/pop functionality
perform_checks: false, //checks for needed push/pop functionality
options: {
auth_pass: 'password'
} //options for createClient of node-redis, optional
});

@@ -34,0 +37,0 @@

@@ -64,2 +64,3 @@ /**

this.perform_checks = (typeof cfg.perform_checks === 'boolean') ? cfg.perform_checks : false;
this.options = (typeof cfg.options === 'object') ? cfg.options : null;

@@ -76,3 +77,3 @@ this.blocking_support = true;

create: function (callback) {
var client = redis.createClient(self.port, self.host);
var client = redis.createClient(self.port, self.host, self.options);
client.__name = "client" + i;

@@ -79,0 +80,0 @@ i = i + 1;

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