Skip to content

Commit 826bda4

Browse files
committed
Fix redis connection
1 parent 7656ff2 commit 826bda4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/frontend/utils/redis.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
import { REDIS_HOST, REDIS_PORT } from '@teerank/teerank'
1+
import { REDIS_FAMILY, REDIS_HOST, REDIS_PORT } from '@teerank/teerank'
22
import { Redis } from 'ioredis'
33

44
const redisClientSingleton = () => {
55
return new Redis({
66
host: REDIS_HOST,
77
port: REDIS_PORT,
8+
family: REDIS_FAMILY,
89
})
910
}
1011

0 commit comments

Comments
 (0)