Skip to content

Commit 15758da

Browse files
t3dotggclaude
andcommitted
fix(web): keep polling T3 Connect reachability after a failed read
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 8aa548c commit 15758da

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/web/src/components/settings/ConnectionsSettings.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1814,11 +1814,11 @@ function ConfiguredCloudLinkRow({ canManageRelay }: { readonly canManageRelay: b
18141814
const isBusy = isUpdating || isUpdatingPreference;
18151815
const refreshLinkState = useEffectEvent(primaryCloudLinkState.refresh);
18161816
// The server rechecks reachability when the tunnel's 30 s readiness poll changes.
1817+
// Poll while mounted, so a failed read does not stop later ones.
18171818
useEffect(() => {
1818-
if (!managedTunnelActive) return;
18191819
const interval = window.setInterval(() => refreshLinkState(), 30_000);
18201820
return () => window.clearInterval(interval);
1821-
}, [managedTunnelActive]);
1821+
}, []);
18221822
const reachability = managedTunnelActive ? primaryCloudLinkState.data?.reachability : undefined;
18231823
const reachabilityStatus =
18241824
reachability?.status === "reachable" ? (

0 commit comments

Comments
 (0)