From c68c6261fbf3fb483b17f62da7fcbee2109835be Mon Sep 17 00:00:00 2001 From: Ramon Smits Date: Sat, 14 Mar 2026 00:42:33 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Reduce=20version=20polling=20freque?= =?UTF-8?q?ncy=20from=205s=20to=201h?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The environment and versions store was polling SC root endpoint, monitoring version, and platformupdate.particular.net every 5 seconds. These values are effectively static during a session, so hourly refresh is sufficient. This dramatically reduces noise in the browser network tab. --- .../src/composables/useEnvironmentAndVersionsAutoRefresh.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Frontend/src/composables/useEnvironmentAndVersionsAutoRefresh.ts b/src/Frontend/src/composables/useEnvironmentAndVersionsAutoRefresh.ts index 05cefbba88..9d1d020a97 100644 --- a/src/Frontend/src/composables/useEnvironmentAndVersionsAutoRefresh.ts +++ b/src/Frontend/src/composables/useEnvironmentAndVersionsAutoRefresh.ts @@ -1,4 +1,4 @@ import { useEnvironmentAndVersionsStore } from "@/stores/EnvironmentAndVersionsStore"; import { useStoreAutoRefresh } from "./useAutoRefresh"; -export default useStoreAutoRefresh("environmentAndVersions", useEnvironmentAndVersionsStore, 5000).autoRefresh; +export default useStoreAutoRefresh("environmentAndVersions", useEnvironmentAndVersionsStore, 3600000).autoRefresh;