push-ioredis
Advanced tools
Comparing version 1.0.13 to 1.0.14
@@ -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" |
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
21940
592
+ Addedioredis@1.14.0(transitive)
- Removedioredis@1.11.1(transitive)
Updatedioredis@1.14.0