MCPcopy
hub / github.com/makeplane/plane / getClient

Method getClient

apps/live/src/redis.ts:121–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119 }
120
121 public getClient(): Redis | null {
122 if (!this.redisClient || !this.isConnected) {
123 logger.warn("REDIS_MANAGER: Redis client not available or not connected");
124 return null;
125 }
126 return this.redisClient;
127 }
128
129 public isClientConnected(): boolean {
130 return this.isConnected && this.redisClient !== null;

Callers 6

setMethod · 0.95
getMethod · 0.95
delMethod · 0.95
existsMethod · 0.95
expireMethod · 0.95
getRedisClientFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected