MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / getRedisPub

Function getRedisPub

packages/redis/redis.ts:90–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88
89let redisPub: ExtendedRedis;
90export function getRedisPub() {
91 if (!redisPub) {
92 redisPub = createRedisClient('redis-pub', REDIS_URL, options);
93 }
94
95 return redisPub;
96}
97
98let redisQueue: ExtendedRedis;
99export function getRedisQueue() {

Callers 3

publishEventFunction · 0.90
startServerFunction · 0.90
shutdownFunction · 0.90

Calls 1

createRedisClientFunction · 0.85

Tested by

no test coverage detected