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

redis-sentinel-client

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis-sentinel-client - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

11

index.js
/**
...
- can no longer create a sentinel client thru redis.createClient({sentinel:true})
- @todo copy failover test from gist
Redis Sentinel client, add-on for node_redis client.
See readme for details/usage.
*/

@@ -53,3 +51,2 @@

{
sentinel: false,
disable_flush: true // Disables flush_and_error, to preserve queue

@@ -117,3 +114,3 @@ }

// talker is used by reconnect() below
this.sentinelTalker = new RedisSingleClient.createClient(options.port, options.host, { sentinel: false });
this.sentinelTalker = new RedisSingleClient.createClient(options.port, options.host);
this.sentinelTalker.on('connect', function(){

@@ -132,3 +129,3 @@ self.debug('connected to sentinel talker');

var sentinelListener = new RedisSingleClient.createClient(options.port, options.host, { sentinel: false });
var sentinelListener = new RedisSingleClient.createClient(options.port, options.host);
sentinelListener.on('connect', function(){

@@ -135,0 +132,0 @@ self.debug('connected to sentinel listener');

{
"name": "redis-sentinel-client",
"version": "0.1.0",
"version": "0.1.1",
"description": "Transparent Redis Sentinel client",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,4 +0,4 @@

Redis Sentinel Client
===========================
# Redis Sentinel Client for Node.js
Supplements [node_redis](https://github.com/mranney/node_redis) with [Redis Sentinel](http://redis.io/topics/sentinel) support.

@@ -39,2 +39,4 @@

`npm install redis-sentinel-client`
```

@@ -41,0 +43,0 @@ var RedisSentinel = require('redis-sentinel-client');

Sorry, the diff of this file is not supported yet

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