Skip to content

Commit

Permalink
Merge pull request #167 from CityOfZion/CU-86duf5c4b
Browse files Browse the repository at this point in the history
CU-86duf5c4b - NEON3 - Adjust our implementation so we don't do a ful…
  • Loading branch information
ricardoak25 authored Aug 30, 2024
2 parents ae57f9f + 7e7c745 commit 0439128
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/renderer/src/libs/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import { QueryClient } from '@tanstack/react-query'
export const queryClient = new QueryClient({
defaultOptions: {
queries: {
retry: 0,
retry: false,
refetchOnMount: false,
refetchOnWindowFocus: false,
gcTime: Infinity,
staleTime: 5 * 60 * 1000, // 5 minutes
},
Expand Down

0 comments on commit 0439128

Please sign in to comment.