Better GraphQL schema fetching

This commit is contained in:
Gregory Schier
2023-04-01 17:53:36 -07:00
parent 9cbe24e740
commit 11a89f06c1
6 changed files with 101 additions and 50 deletions

View File

@@ -11,8 +11,10 @@ import { DialogProvider } from './DialogContext';
import { TauriListeners } from './TauriListeners';
const queryClient = new QueryClient({
logger: undefined,
defaultOptions: {
queries: {
retry: false,
cacheTime: 1000 * 60 * 60 * 24, // 24 hours
networkMode: 'offlineFirst',