Socket
Socket
Sign inDemoInstall

ioredis

Package Overview
Dependencies
Maintainers
2
Versions
228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ioredis - npm Package Compare versions

Comparing version 4.27.4 to 4.27.5

3

built/connectors/SentinelConnector/index.js

@@ -208,2 +208,5 @@ "use strict";

return __awaiter(this, void 0, void 0, function* () {
if (!this.options.failoverDetector) {
return;
}
// Move the current sentinel to the first position

@@ -210,0 +213,0 @@ this.sentinelIterator.reset(true);

@@ -96,2 +96,7 @@ "use strict";

* addresses when communicating with existing sentinels.
* @param {boolean} [options.failoverDetector=false] - Detect failover actively by subscribing to the
* related channels. With this option disabled, ioredis is still able to detect failovers because Redis
* Sentinel will disconnect all clients whenever a failover happens, so ioredis will reconnect to the new
* master. This option is useful when you want to detect failover quicker, but it will create more TCP
* connections to Redis servers in order to subscribe to related channels.
* @param {boolean} [options.enableAutoPipelining=false] - When enabled, all commands issued during an event loop

@@ -98,0 +103,0 @@ * iteration are automatically wrapped in a pipeline and sent to the server at the same time.

@@ -34,2 +34,3 @@ "use strict";

updateSentinels: true,
failoverDetector: false,
// Status

@@ -36,0 +37,0 @@ username: null,

@@ -0,1 +1,8 @@

## [4.27.5](https://github.com/luin/ioredis/compare/v4.27.4...v4.27.5) (2021-06-05)
### Bug Fixes
* **SENTINEL:** actively failover detection under an option ([#1363](https://github.com/luin/ioredis/issues/1363)) ([f02e383](https://github.com/luin/ioredis/commit/f02e383996310adaefc2b4c40d946b76e450e5c7))
## [4.27.4](https://github.com/luin/ioredis/compare/v4.27.3...v4.27.4) (2021-06-04)

@@ -2,0 +9,0 @@

2

package.json
{
"name": "ioredis",
"version": "4.27.4",
"version": "4.27.5",
"description": "A robust, performance-focused and full-featured Redis client for Node.js.",

@@ -5,0 +5,0 @@ "main": "built/index.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