We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee294b6 commit bfc194dCopy full SHA for bfc194d
lib/pipeline.ts
@@ -32,7 +32,8 @@ export default function Pipeline(redis) {
32
Commander.call(this);
33
34
this.redis = redis;
35
- this.isCluster = this.redis.constructor.name === "Cluster";
+ this.isCluster =
36
+ this.redis.constructor.name === "Cluster" || this.redis.isCluster;
37
this.isPipeline = true;
38
this.options = redis.options;
39
this._queue = [];
0 commit comments