mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-02 12:49:20 +01:00
🔥 Remove caching and async persistance storage
This commit is contained in:
@@ -1,10 +1,3 @@
|
||||
import { QueryClient } from '@tanstack/react-query';
|
||||
|
||||
export const queryClient = new QueryClient({
|
||||
defaultOptions: {
|
||||
queries: {
|
||||
staleTime: 5 * 60 * 1000, // 5 mins
|
||||
cacheTime: 10 * 60 * 1000, // 10 mins
|
||||
},
|
||||
},
|
||||
});
|
||||
export const queryClient = new QueryClient();
|
||||
|
||||
Reference in New Issue
Block a user