Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix(realtime): widen the patient reconnect window for GPU TTS warm-up

rubenluetke10-beep7d2fbc496a84
diff --git a/jarvis/plugins/realtime/openai_realtime.py b/jarvis/plugins/realtime/openai_realtime.py
index 3359a585d3..cca100ed57 100644
--- a/jarvis/plugins/realtime/openai_realtime.py
+++ b/jarvis/plugins/realtime/openai_realtime.py
@@ -1244,12 +1244,12 @@ _LOCAL_PROBE_TIMEOUT_S = 3.0
#: How long a connect to the self-hosted server keeps retrying when Jarvis
#: itself can revive the server (a ``launch_command`` is configured). A local
-#: stack needs real time to come back — a measured cold revive of the
-#: reference server (kill -9, respawn, models loaded, session ready) took
-#: 52 s on the dev box (2026-08-06 crash drill) — and the mid-call
-#: transport rebuild (BUG-071) lands here, so giving up early turns every
-#: server crash into a dead call.
-_LOCAL_CONNECT_PATIENT_WINDOW_S = 75.0
+#: stack needs real time to come back — measured cold revives on the dev box:
+#: 52 s with the CPU TTS (2026-08-06 drill), ~90 s with the GPU Qwen3-TTS
+#: warm-up incl. CUDA graph capture (2026-08-07) — and the mid-call transport
+#: rebuild (BUG-071) lands here, so giving up early turns every server crash
+#: into a dead call.
+_LOCAL_CONNECT_PATIENT_WINDOW_S = 120.0
#: The window when NOBODY revives the server (no launch command): nothing is
#: going to change, so only ride out a brief hiccup instead of holding the
#: call hostage.