mirror of
https://github.com/anultravioletaurora/Jellify.git
synced 2026-01-05 21:30:53 -06:00
query client stuff
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user