Skip to content

Commit b5ac3f7

Browse files
committed
chore: revalidate false
1 parent b06ac66 commit b5ac3f7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/insights/src/utils/cache.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { unstable_cache } from "next/cache";
22
import superjson from "superjson";
33

44
const MAX_CACHE_SIZE_STRING = 2 * 1024 * 1024 - 510_000; // buffer size, subtracted some of the nextjs overhead added to each cache entry
5-
const REVALIDATE_TIME = 60 * 60 * 24; // 24 hours
65

76

87
type ChunkedCacheResult = {
@@ -49,7 +48,7 @@ export function createChunkedCacheFetcher<T, Args extends unknown[]>(
4948
};
5049
},
5150
[key],
52-
{ revalidate: REVALIDATE_TIME }
51+
{ revalidate: false }
5352
);
5453
}
5554

0 commit comments

Comments
 (0)