瀏覽代碼

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({