diff --git a/lib/index.ts b/lib/index.ts index 99c4cd8..392a653 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -920,7 +920,7 @@ export class RedisAdapter extends Adapter { */ private getNumSub(): Promise { - if (this.pubClient.constructor.name === "Cluster") { + if (this.pubClient.constructor.name === "Cluster" || this.pubClient.isCluster) { // Cluster const nodes = this.pubClient.nodes(); return Promise.all(