Skip to content

Commit bba2b43

Browse files
committed
chore: add gctime
1 parent 1a8f58f commit bba2b43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/src/hooks/useSubscription.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function useSubscription() {
3030
refetchOnWindowFocus: false,
3131
refetchOnMount: true,
3232
staleTime: 5 * 60 * 1000, // Consider data fresh for 5 minutes
33-
cacheTime: 10 * 60 * 1000, // Keep in cache for 10 minutes
33+
gcTime: 10 * 60 * 1000, // Keep in cache for 10 minutes
3434
});
3535

3636
useEffect(() => {

0 commit comments

Comments
 (0)