We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d55d6e5 commit d2faa8aCopy full SHA for d2faa8a
lib/index.ts
@@ -920,7 +920,7 @@ export class RedisAdapter extends Adapter {
920
*/
921
922
private getNumSub(): Promise<number> {
923
- if (this.pubClient.constructor.name === "Cluster") {
+ if (this.pubClient.constructor.name === "Cluster" || this.pubClient.isCluster) {
924
// Cluster
925
const nodes = this.pubClient.nodes();
926
return Promise.all(
0 commit comments