Comparing version 4.24.4 to 4.24.5
@@ -39,3 +39,7 @@ "use strict"; | ||
if (self.condition.select) { | ||
self.select(self.condition.select); | ||
self.select(self.condition.select).catch((err) => { | ||
// If the node is in cluster mode, select is disallowed. | ||
// In this case, reconnect won't help. | ||
self.silentEmit("error", err); | ||
}); | ||
} | ||
@@ -42,0 +46,0 @@ if (!self.options.enableReadyCheck) { |
@@ -0,1 +1,8 @@ | ||
## [4.24.5](https://github.com/luin/ioredis/compare/v4.24.4...v4.24.5) (2021-03-27) | ||
### Bug Fixes | ||
* select db in cluster mode causes unhandled errors ([#1311](https://github.com/luin/ioredis/issues/1311)) ([da3ec92](https://github.com/luin/ioredis/commit/da3ec92a406ab6c2f1517810f29f55a0c12712dc)), closes [#1310](https://github.com/luin/ioredis/issues/1310) | ||
## [4.24.4](https://github.com/luin/ioredis/compare/v4.24.3...v4.24.4) (2021-03-24) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "ioredis", | ||
"version": "4.24.4", | ||
"version": "4.24.5", | ||
"description": "A robust, performance-focused and full-featured Redis client for Node.js.", | ||
@@ -5,0 +5,0 @@ "main": "built/index.js", |
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
277320
4639