Skip to content

Commit c741ff3

Browse files
committed
fix: don't auto-run Health diagnostics on mount
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").
1 parent 7950658 commit c741ff3

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎apps/dokploy/components/dashboard/docker/health/show-health.tsx‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,6 @@ export const ShowHealth = ({ serverId }: Props) => {
142142
{ enabled: false },
143143
);
144144

145-
// Mount-only: filter changes require an explicit Check click, not an auto-refetch.
146-
useEffect(() => {
147-
refetch();
148-
refetchFailed();
149-
}, []);
150-
151145
// Refreshes the default range's "to" bound to now right before checking.
152146
const [checkFailedTick, setCheckFailedTick] = useState(0);
153147
useEffect(() => {

0 commit comments

Comments
 (0)