Skip to content

Commit

Permalink
Merge pull request #3400 from tloncorp/po/set-cache-time-to-five-minutes
Browse files Browse the repository at this point in the history
Perf: set cache time to 5m
  • Loading branch information
patosullivan authored Apr 8, 2024
2 parents a8e0472 + d7905ca commit 470b22d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/tlon-web/src/queryClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { QueryClient } from '@tanstack/react-query';
const queryClient = new QueryClient({
defaultOptions: {
queries: {
cacheTime: Infinity,
cacheTime: 5 * 60 * 1000,
refetchOnWindowFocus: false,
refetchOnReconnect: false,
},
Expand Down

0 comments on commit 470b22d

Please sign in to comment.