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

Function getRedisQueue

packages/redis/redis.ts:99–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97
98let redisQueue: ExtendedRedis;
99export function getRedisQueue() {
100 if (!redisQueue) {
101 // Use different redis for queues (self-hosting will re-use the same redis instance)
102 redisQueue = createRedisClient('redis-queue', REDIS_URL, {
103 ...options,
104 enableReadyCheck: false,
105 maxRetriesPerRequest: null,
106 enableOfflineQueue: true,
107 });
108 }
109
110 return redisQueue;
111}
112
113let redisGroupQueue: ExtendedRedis;
114export function getRedisGroupQueue() {

Callers 3

queues.tsFile · 0.90
boot-workers.tsFile · 0.90
shutdownFunction · 0.90

Calls 1

createRedisClientFunction · 0.85

Tested by

no test coverage detected