()
| 7 | import { env } from "@/lib/env"; |
| 8 | |
| 9 | import { isDevtoolsRequested } from "./QueryProvider.devtools"; |
| 10 | |
| 11 | function makeQueryClient(): QueryClient { |
| 12 | return new QueryClient({ |
| 13 | defaultOptions: { |
| 14 | queries: { |
| 15 | staleTime: 30_000, |
| 16 | gcTime: 5 * 60_000, |
| 17 | retry: 1, |
| 18 | refetchOnWindowFocus: false |
| 19 | }, |
| 20 | mutations: { |
| 21 | retry: 0 |
| 22 | } |
| 23 | } |
| 24 | }); |
| 25 | } |
| 26 |
nothing calls this directly
no outgoing calls
no test coverage detected