cache bug

This commit is contained in:
2025-12-18 10:01:04 +03:30
parent d7b6c9d35c
commit 44bce1e6d7
+1 -1
View File
@@ -11,7 +11,7 @@ export function cacheConfig(): CacheModuleAsyncOptions {
useFactory: async (configService: ConfigService) => { useFactory: async (configService: ConfigService) => {
const redisUri = configService.get('REDIS_URI'); const redisUri = configService.get('REDIS_URI');
const namespace = configService.get('CACHE_NAMESPACE', 'app-cache'); const namespace = configService.get('CACHE_NAMESPACE', 'app-cache');
const ttl = configService.get<number>('CACHE_TTL', 3600); const ttl = +configService.get<number>('CACHE_TTL', 3600); //1 hour
return { return {
stores: [ stores: [