We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4df38eb commit ee5ebdbCopy full SHA for ee5ebdb
src/cache/cache.factory.ts
@@ -12,10 +12,9 @@ export class CacheConfigFactory implements CacheOptionsFactory {
12
const cacheConfig =
13
this.configService.getOrThrow<CacheConfig>(CacheConfigName);
14
const redisURL = `redis://:${cacheConfig.password}@${cacheConfig.host}:${cacheConfig.port}`;
15
+ const keyv = createKeyv(redisURL);
16
return {
- store: createKeyv(redisURL),
17
- url: redisURL,
18
- ttl: cacheConfig.ttl,
+ stores: keyv,
19
};
20
}
21
0 commit comments