Download webui/src/lib/query-client.ts from xjackkx/rg: direct link, hf CLI and curl.
- Browser
- Download file 265 Bytes
-
https://huggingface.co/spaces/xjackkx/rg/resolve/main/webui/src/lib/query-client.ts
- Command line
-
hf download hf://spaces/xjackkx/rg/webui/src/lib/query-client.ts
-
curl -L -o query-client.ts https://huggingface.co/spaces/xjackkx/rg/resolve/main/webui/src/lib/query-client.ts
265 Bytes
| import { QueryClient } from "@tanstack/react-query"; | |
| export const queryClient = new QueryClient({ | |
| defaultOptions: { | |
| queries: { | |
| staleTime: 10_000, | |
| retry: 1, | |
| refetchOnWindowFocus: true, | |
| }, | |
| mutations: { | |
| retry: 0, | |
| }, | |
| }, | |
| }); | |