Skip to content

Commit b633b3e

Browse files
committed
feat: update cache life
1 parent f1c82b6 commit b633b3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/insights/src/cache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const transformer = {
99
deserialize: parse,
1010
};
1111

12-
export const DEFAULT_CACHE_TTL = 86_400; // 24 hours
12+
export const DEFAULT_CACHE_TTL = 3600; // 1 hour
1313
export const DEFAULT_CACHE_STALE = 86_400; // 24 hours
1414

1515
export const redisCache: ACDCache = createCache({

0 commit comments

Comments
 (0)