We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7656ff2 commit 826bda4Copy full SHA for 826bda4
apps/frontend/utils/redis.ts
@@ -1,10 +1,11 @@
1
-import { REDIS_HOST, REDIS_PORT } from '@teerank/teerank'
+import { REDIS_FAMILY, REDIS_HOST, REDIS_PORT } from '@teerank/teerank'
2
import { Redis } from 'ioredis'
3
4
const redisClientSingleton = () => {
5
return new Redis({
6
host: REDIS_HOST,
7
port: REDIS_PORT,
8
+ family: REDIS_FAMILY,
9
})
10
}
11
0 commit comments