Skip to content

Commit

Permalink
[queryClient] Adjust default cacheTime (#6403)
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbaroni authored Jan 16, 2025
1 parent 39a3775 commit d800895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/react-query/queryClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class MMKVPersister implements Persister {
export const queryClient = new QueryClient({
defaultOptions: {
queries: {
cacheTime: time.days(7),
cacheTime: time.minutes(5),
staleTime: time.minutes(2),
},
},
Expand Down

0 comments on commit d800895

Please sign in to comment.