From c741ff36c097be7786ff5453cfb3466ec5d745a7 Mon Sep 17 00:00:00 2001 From: Narciso Date: Thu, 13 Aug 2026 11:15:12 -0400 Subject: [PATCH] fix: don't auto-run Health diagnostics on mount MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reverts the mount-only auto-refetch — it still ran host shell, Docker, DB, and SSH log-tail work before the user asked for it, just once instead of on every filter change. Back to fully manual: nothing runs until Check/Re-check is clicked, matching the panel's own copy ("Nothing runs automatically — click to check"). --- .../components/dashboard/docker/health/show-health.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/apps/dokploy/components/dashboard/docker/health/show-health.tsx b/apps/dokploy/components/dashboard/docker/health/show-health.tsx index 6d2a5f3c3..9aa134bdc 100644 --- a/apps/dokploy/components/dashboard/docker/health/show-health.tsx +++ b/apps/dokploy/components/dashboard/docker/health/show-health.tsx @@ -142,12 +142,6 @@ export const ShowHealth = ({ serverId }: Props) => { { enabled: false }, ); - // Mount-only: filter changes require an explicit Check click, not an auto-refetch. - useEffect(() => { - refetch(); - refetchFailed(); - }, []); - // Refreshes the default range's "to" bound to now right before checking. const [checkFailedTick, setCheckFailedTick] = useState(0); useEffect(() => {