This commit is contained in:
decolua committed 2026-04-06 17:32:44 +07:00
1 parent 7db4b9834e
commit 307be3b63d
18 files changed
+406 -179

No files matched your search

+4 -1
View File
@@ -122,7 +122,10 @@ async function scheduleReconnect(attempt) {
isReconnecting = false;
const nextAttempt = attempt + 1;
if (nextAttempt < MAX_RECONNECT_ATTEMPTS) scheduleReconnect(nextAttempt);
else console.log("[Tunnel] All reconnect attempts exhausted");
else {
console.log("[Tunnel] All reconnect attempts exhausted, disabling tunnel");
await updateSettings({ tunnelEnabled: false });
}
}
}