redis-connection-pool
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "redis-connection-pool", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "a redis client connection pool", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -96,3 +96,3 @@ /** | ||
setTimeout(function poolStats() { | ||
setTimeout(function poolStats(pool) { | ||
// periodically report pool statistics | ||
@@ -102,4 +102,4 @@ debug('REDIS POOL: [size: ' + pool.getPoolSize() + | ||
' waiting:' + pool.waitingClientsCount() + ']'); | ||
setTimeout(poolStats, 300000); | ||
}, 300000); | ||
setTimeout(poolStats, 300000, pool); | ||
}, 300000, this.pool); | ||
@@ -309,3 +309,3 @@ return this; | ||
RedisConnectionPool.prototype.clean = function (key, cb) { | ||
debug('`clearing redis key ' + key); | ||
debug('clearing redis key ' + key); | ||
var client = redis.createClient(); | ||
@@ -318,3 +318,3 @@ var self = this; | ||
keys.forEach(function (name, pos) { | ||
debug('redis-connection-pool: deleting name ' + name); | ||
debug('deleting name ' + name); | ||
self.del(name); | ||
@@ -321,0 +321,0 @@ }); |
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
278845