Refresh AITURK model discovery automatically in desktop beta 4

This commit is contained in:
yilsem committed 2026-09-06 01:37:27 +03:00
1 parent aa498f4cbb
commit 237d1e2060
8 files changed
+111 -10

No files matched your search

+6
View File
@@ -12,6 +12,12 @@ export const queryClient = new QueryClient({
}
})
queryClient.setQueryDefaults(['model-options'], {
staleTime: 30_000,
refetchInterval: 60_000,
refetchOnWindowFocus: true
})
// Curried, setState-shaped cache writer for optimistic write-through: keeps
// mutation sites terse (`setX(next)` or `setX(prev => …)`) over one query key.
export const writeCache =