mirror of
https://github.com/cpvalente/ontime.git
synced 2026-07-26 10:38:55 +00:00
884ab0b67b
* refactor: add revision number to rundown * chore: migrate query
10 lines
196 B
TypeScript
10 lines
196 B
TypeScript
import { QueryClient } from '@tanstack/react-query';
|
|
|
|
export const ontimeQueryClient = new QueryClient({
|
|
defaultOptions: {
|
|
queries: {
|
|
gcTime: 1000 * 60 * 10, // 10 min
|
|
},
|
|
},
|
|
});
|