fix(monitor): increase refresh-all timeout to 3h

First-run magic enrichment on partially-enriched UATs can take
30+ minutes per UAT. After first complete run, subsequent runs
will be seconds.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
AI Assistant
2026-03-31 07:01:36 +03:00
parent fc7a1f9787
commit 27960c9a43
+2 -2
View File
@@ -433,10 +433,10 @@ function SyncTestButton({ label, description, siruta, mode, includeNoGeometry, a
setTimeout(() => { setTimeout(() => {
if (pollRef.current) { if (pollRef.current) {
clearInterval(pollRef.current); pollRef.current = null; clearInterval(pollRef.current); pollRef.current = null;
addLog("error", `[${label}] Timeout 60min (${formatElapsed()})`); addLog("error", `[${label}] Timeout 3h (${formatElapsed()})`);
setActionLoading(""); setActionLoading("");
} }
}, 60 * 60_000); }, 3 * 60 * 60_000);
} catch { addLog("error", `[${label}] Eroare retea`); setActionLoading(""); } } catch { addLog("error", `[${label}] Eroare retea`); setActionLoading(""); }
}} }}
disabled={!!actionLoading} disabled={!!actionLoading}