mirror of
https://github.com/BradNut/boredgame
synced 2025-09-08 17:40:22 +00:00
Updating another redis URL
This commit is contained in:
parent
8cfb958832
commit
51c06f1595
2 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue