Updating another redis URL

This commit is contained in:
Bradley Shellnut 2024-09-30 19:58:27 -07:00
parent 8cfb958832
commit 51c06f1595
2 changed files with 2 additions and 1 deletions

View file

@ -4,6 +4,7 @@ import { config } from '../common/config'
export const RedisProvider = Symbol('REDIS_TOKEN')
export type RedisProvider = RedisClient
container.register<RedisProvider>(RedisProvider, {
useValue: new RedisClient(config.redis.url, {
maxRetriesPerRequest: null,

View file

@ -7,7 +7,7 @@ export class RedisService implements Disposable {
readonly client: Redis
constructor() {
this.client = new Redis(config.REDIS_URL, {
this.client = new Redis(config.redis.url, {
maxRetriesPerRequest: null,
})
}