From 76bf7cf0782267bb7ccbfdc77dd4d6d5afe19033 Mon Sep 17 00:00:00 2001 From: Michael Neale Date: Wed, 12 Nov 2025 12:43:37 +1100 Subject: [PATCH] let GUI render --- crates/goose-server/src/commands/agent.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/goose-server/src/commands/agent.rs b/crates/goose-server/src/commands/agent.rs index 184dd288c6..5a091ba65d 100644 --- a/crates/goose-server/src/commands/agent.rs +++ b/crates/goose-server/src/commands/agent.rs @@ -61,7 +61,8 @@ pub async fn run() -> Result<()> { let tunnel_manager = app_state.tunnel_manager.clone(); tokio::spawn(async move { - tokio::time::sleep(tokio::time::Duration::from_millis(100)).await; + // Give time for GUI to render before doing autostart + tokio::time::sleep(tokio::time::Duration::from_secs(3)).await; tunnel_manager.check_auto_start().await; });