push-ioredis
Advanced tools
Comparing version 1.0.14 to 1.0.15
@@ -32,7 +32,7 @@ var crc = require('redis-crc'); | ||
var client = self.getClientByKey2(key); | ||
if (self.logger) { | ||
self.logger.info('in clientProxy command = ' + command); | ||
} else { | ||
console.info('in clientProxy command = ' + command); | ||
} | ||
//if (self.logger) { | ||
// self.logger.info('in clientProxy command = ' + command); | ||
//} else { | ||
// console.info('in clientProxy command = ' + command); | ||
//} | ||
@@ -294,11 +294,10 @@ if (!client) { | ||
var redisName = this.$redisClusterMap.getRedisName(value); | ||
if (this.logger) { | ||
this.logger.info('in getClientByKey2, crc value = ' + value); | ||
this.logger.info('in getClientByKey2, key = ' + key + ', redisName = ' + redisName); | ||
} else { | ||
console.info('in getClientByKey2, crc value = ' + value); | ||
console.info('in getClientByKey2, key = ' + key + ', redisName = ' + redisName); | ||
} | ||
//if (this.logger) { | ||
// this.logger.info('in getClientByKey2, crc value = ' + value); | ||
// this.logger.info('in getClientByKey2, key = ' + key + ', redisName = ' + redisName); | ||
//} else { | ||
// console.info('in getClientByKey2, crc value = ' + value); | ||
// console.info('in getClientByKey2, key = ' + key + ', redisName = ' + redisName); | ||
//} | ||
//return this.redisCluster.getClient(redisName, this.role); | ||
return this.redisCluster.getClient(redisName); | ||
@@ -305,0 +304,0 @@ } |
{ | ||
"name": "push-ioredis", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"description": "use sentinel + ioredis + sharding logic to replace push-redis-failover", | ||
@@ -5,0 +5,0 @@ "main": "redisClient.js", |
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
23308
12
633
13