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.13 to 1.0.14

9

lib/redis-failover.js

@@ -46,2 +46,8 @@ var Redis = require('ioredis');

return delay;
},
sentinelRetryStrategy: function(stimes) {
//if (stimes >= 3)
// return null;
var delay = Math.min(stimes * 10, 1000);
return delay;
}

@@ -98,4 +104,3 @@ };

redisProxy.setRedisClusterMap(redisClusterMap);
this.emit('ready');
this.emit('ready', redisProxy);
}

@@ -102,0 +107,0 @@ return redisProxy;

{
"name": "push-ioredis",
"version": "1.0.13",
"version": "1.0.14",
"description": "use sentinel + ioredis + sharding logic to replace push-redis-failover",

@@ -16,3 +16,3 @@ "main": "redisClient.js",

"dependencies": {
"ioredis": "1.11.1",
"ioredis": "1.14.0",
"async": "1.5.0",

@@ -19,0 +19,0 @@ "redis-crc": "0.1.8"

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