From 68cfcfd0a43f75d1dba2333737b8c1960a9fd61d Mon Sep 17 00:00:00 2001 From: Ali <83188384+testA113@users.noreply.github.com> Date: Thu, 17 Jul 2025 12:07:20 +1200 Subject: [PATCH] fix(helm): ensure the form is not 'dirty', when the values are unchanged [r8s-421] (#902) --- app/react/kubernetes/helm/queries/useHelmChartList.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/react/kubernetes/helm/queries/useHelmChartList.ts b/app/react/kubernetes/helm/queries/useHelmChartList.ts index 01995f681..b2cc82b9d 100644 --- a/app/react/kubernetes/helm/queries/useHelmChartList.ts +++ b/app/react/kubernetes/helm/queries/useHelmChartList.ts @@ -27,6 +27,7 @@ export function useHelmHTTPChartList( // one request takes a long time, so fail early to get feedback to the user faster retry: false, ...withGlobalError(`Unable to retrieve Helm charts from ${repository}`), + cacheTime: 1000 * 60 * 60 * 8, // 8 hours so that the chart list populates faster (keep stale time the same to always revalidate) }); }