Skip to content

Commit af66d45

Browse files
author
colinmcneil
committed
Remove configuration causing old data to stick around in the UI
1 parent 0745ee2 commit af66d45

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/extension/ui/src/main.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@ import { App } from './App';
1111
const queryClient = new QueryClient({
1212
defaultOptions: {
1313
queries: {
14-
// Keep data in cache for 5 minutes
15-
gcTime: 5 * 60 * 1000,
16-
// Treat data as fresh for 30 seconds
17-
staleTime: 30 * 1000,
18-
// Don't refetch on window focus by default
19-
refetchOnWindowFocus: false,
2014
// Retry failed queries 3 times
2115
retry: 3
2216
}

0 commit comments

Comments
 (0)