From b22abfc6235464d983ac50419346ef160988b35b Mon Sep 17 00:00:00 2001 From: Alex Hancock Date: Fri, 24 Oct 2025 10:16:40 -0400 Subject: [PATCH] chore: improve timeout for entering password when running goose ui from source (#5349) --- ui/desktop/src/goosed.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/desktop/src/goosed.ts b/ui/desktop/src/goosed.ts index a74904b9..1e34cdfe 100644 --- a/ui/desktop/src/goosed.ts +++ b/ui/desktop/src/goosed.ts @@ -28,8 +28,9 @@ export const findAvailablePort = (): Promise => { // Check if goosed server is ready by polling the status endpoint export const checkServerStatus = async (client: Client): Promise => { - const interval = 100; - const maxAttempts = 200; + const interval = 100; // ms + const maxAttempts = 1200; // 120s + for (let attempt = 1; attempt <= maxAttempts; attempt++) { try { await status({ client, throwOnError: true });