From 0aa6214cb84176b0d87ff822159e6bfa66a273d9 Mon Sep 17 00:00:00 2001 From: Violet Caulfield Date: Wed, 12 Feb 2025 07:48:07 -0600 Subject: [PATCH] query client stuff --- constants/query-client.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/constants/query-client.ts b/constants/query-client.ts index 7bf87980..60f35311 100644 --- a/constants/query-client.ts +++ b/constants/query-client.ts @@ -3,8 +3,8 @@ import { QueryClient } from "@tanstack/react-query"; export const queryClient = new QueryClient({ defaultOptions: { queries: { - gcTime: (1000 * 60 * 60), // 1 hour - staleTime: (1000 * 60 * 30) // 30 minutes + gcTime: (1000 * 60 * 15), // 15 minutes + staleTime: (1000 * 60 * 10) // 10 minutes } } }); \ No newline at end of file