Spaces:
Sleeping
Sleeping
Download frontend/src/config/queryClient.ts from AdithyaVardan/GodSpeed: direct link, hf CLI and curl.
- Browser
- Download file 246 Bytes
-
https://huggingface.co/spaces/AdithyaVardan/GodSpeed/resolve/main/frontend/src/config/queryClient.ts
- Command line
-
hf download hf://spaces/AdithyaVardan/GodSpeed/frontend/src/config/queryClient.ts
-
curl -L -o queryClient.ts https://huggingface.co/spaces/AdithyaVardan/GodSpeed/resolve/main/frontend/src/config/queryClient.ts
246 Bytes
| import { QueryClient } from '@tanstack/react-query' | |
| export const queryClient = new QueryClient({ | |
| defaultOptions: { | |
| queries: { | |
| staleTime: 30_000, | |
| retry: 1, | |
| refetchOnWindowFocus: false, | |
| }, | |
| }, | |
| }) | |