Browse Source

feat: update cache life

Alexandru Cambose 3 months ago
parent
commit
b633b3e2fb
1 changed files with 1 additions and 1 deletions
  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({