Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions ui/desktop/src/goosed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ export const findAvailablePort = (): Promise<number> => {

// Check if goosed server is ready by polling the status endpoint
export const checkServerStatus = async (client: Client): Promise<boolean> => {
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 });
Expand Down
Loading