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 0.1.2 to 0.1.3

2

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

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

@@ -89,7 +89,9 @@ /**

redisCheck.apply(this, []);
if (self.DEBUG) {
setTimeout(function poolStats() {
// periodically report pool statistics
console.log('REDIS POOL: [size: ' + pool.getPoolSize() +
' avail:' + pool.availableObjectsCount() +
console.log('REDIS POOL: [size: ' + pool.getPoolSize() +
' avail:' + pool.availableObjectsCount() +
' waiting:' + pool.waitingClientsCount() + ']');

@@ -100,3 +102,2 @@ setTimeout(poolStats, 300000);

redisCheck.apply(this, []);
return this;

@@ -345,3 +346,3 @@ }

*
* promise which, on completion will return a version number as a string.
* promise which, upon completion, will return a version number as a string.
*/

@@ -348,0 +349,0 @@ RedisConnectionPool.prototype.check = function () {

@@ -35,7 +35,8 @@ if (typeof define !== 'function') {

{
desc: "verify version properties are set",
desc: "#check()",
timeout: 2000,
run: function (env, test) {
test.assertTypeAnd(env.redisPool.VERSION_STRING, 'string');
test.assertType(env.redisPool.VERSION_ARRAY, 'object');
env.redisPool.check().then(function (redis_version) {
test.assertType(redis_version, 'string');
});
}

@@ -45,8 +46,7 @@ },

{
desc: "#check()",
desc: "verify version properties are set",
timeout: 2000,
run: function (env, test) {
env.redisPool.check().then(function (redis_version) {
test.assertType(redis_version, 'string');
});
test.assertTypeAnd(env.redisPool.VERSION_STRING, 'string');
test.assertType(env.redisPool.VERSION_ARRAY, 'object');
}

@@ -197,2 +197,2 @@ },

return suites;
});
});

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