소스 검색

feat: update cache life

Alexandru Cambose 3 달 전
부모
커밋
b633b3e2fb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      apps/insights/src/cache.ts

+ 1 - 1
apps/insights/src/cache.ts

@@ -9,7 +9,7 @@ const transformer = {
   deserialize: parse,
 };
 
-export const DEFAULT_CACHE_TTL = 86_400; // 24 hours
+export const DEFAULT_CACHE_TTL = 3600; // 1 hour
 export const DEFAULT_CACHE_STALE = 86_400; // 24 hours
 
 export const redisCache: ACDCache = createCache({