Refresh AITURK model discovery automatically in desktop beta 4
This commit is contained in:
1 parent
aa498f4cbb
commit
237d1e2060
8 files changed
+111
-10
No files matched your search
@@ -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 =
|
||||
|
||||
Reference in new issue
Block a user