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

push-ioredis

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

push-ioredis - npm Package Compare versions

Comparing version 1.0.14 to 1.0.15

test/continous.js

25

lib/clientProxy.js

@@ -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",

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