Skip to content

Personal AI, On Personal Devices

Python

fix: increase server health timeout from 120s to 300s

Jon Saad-Falcon26e99c78fb30
diff --git a/desktop/src-tauri/src/lib.rs b/desktop/src-tauri/src/lib.rs
index e13f6310..94918ba5 100644
--- a/desktop/src-tauri/src/lib.rs
+++ b/desktop/src-tauri/src/lib.rs
@@ -501,7 +501,7 @@ async fn boot_backend(backend: SharedBackend, status: SharedStatus) {
}
let server_url = format!("http://127.0.0.1:{}/health", JARVIS_PORT);
- let server_ok = wait_for_url(&server_url, Duration::from_secs(120)).await;
+ let server_ok = wait_for_url(&server_url, Duration::from_secs(300)).await;
if !server_ok {
// Try to read stderr from the failed process for a useful error