Update Redis client config
This commit is contained in:
parent
d4cffd9638
commit
af3a72dc8b
1 changed files with 2 additions and 2 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
import { Redis } from 'ioredis'
|
import { Redis } from 'ioredis'
|
||||||
|
|
||||||
const redis = new Redis({
|
const redis = new Redis({
|
||||||
host: process.env.REDIS_HOST || 'localhost',
|
host: process.env.REDISHOST || 'localhost',
|
||||||
port: parseInt(process.env.REDIS_PORT || '6379')
|
port: parseInt(process.env.REDISPORT || '6379')
|
||||||
})
|
})
|
||||||
|
|
||||||
export default redis
|
export default redis
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue