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 d2faa8a commit 65174f3Copy full SHA for 65174f3
lib/index.ts
@@ -920,7 +920,10 @@ export class RedisAdapter extends Adapter {
920
*/
921
922
private getNumSub(): Promise<number> {
923
- if (this.pubClient.constructor.name === "Cluster" || this.pubClient.isCluster) {
+ if (
924
+ this.pubClient.constructor.name === "Cluster" ||
925
+ this.pubClient.isCluster
926
+ ) {
927
// Cluster
928
const nodes = this.pubClient.nodes();
929
return Promise.all(
0 commit comments