We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54da6b3 commit cd8a3e8Copy full SHA for cd8a3e8
packages/backend/redis/index.js
@@ -6,12 +6,12 @@ const ENABLE_REDIS = !process.env.NO_REDIS
6
7
const RedisClient = ENABLE_REDIS ? Redis : RedisMock
8
export { RedisClient as Redis, getRedis, getRedisOptions, generatePrefix }
9
-export const redis = getRedis(getRedisOptions())
10
-export const redisObserver = getRedis(getRedisOptions())
11
export const prefix = generatePrefix({
12
mongoUrl: process.env.MONGO_URL,
13
baseUrl: process.env.BASE_URL
14
})
+export const redis = getRedis(getRedisOptions())
+export const redisObserver = getRedis(getRedisOptions())
15
16
export const pubsub = redisPubSub({
17
client: redis,
0 commit comments