diff --git a/src/frontend/src/components/dashboard/widgets/QueryCountDashboardWidget.tsx b/src/frontend/src/components/dashboard/widgets/QueryCountDashboardWidget.tsx index 3db70f530b..37f48d9498 100644 --- a/src/frontend/src/components/dashboard/widgets/QueryCountDashboardWidget.tsx +++ b/src/frontend/src/components/dashboard/widgets/QueryCountDashboardWidget.tsx @@ -39,6 +39,7 @@ function QueryCountWidget({ queryKey: ['dashboard-query-count', modelType, params], enabled: user.hasViewPermission(modelType), refetchOnMount: true, + refetchInterval: 5 * 60 * 1000, // 5 minutes queryFn: () => { return api .get(apiUrl(modelProperties.api_endpoint), {