Skip to content

Commit e273835

Browse files
committed
fix(desktop): increase backend readiness timeout from 10s to 30s
The 10-second timeout is too tight for many machines. Log analysis shows the backend consistently needs 10-12s to start (Node.js init + SQLite + migrations + HTTP server), causing the desktop to give up before the backend is ready. Reported by multiple users after upgrading to v0.0.17. Fixes #1916
1 parent dff8784 commit e273835

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/desktop/src/backendReadiness.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export interface WaitForHttpReadyOptions {
66
readonly signal?: AbortSignal;
77
}
88

9-
const DEFAULT_TIMEOUT_MS = 10_000;
9+
const DEFAULT_TIMEOUT_MS = 30_000;
1010
const DEFAULT_INTERVAL_MS = 100;
1111
const DEFAULT_REQUEST_TIMEOUT_MS = 1_000;
1212

0 commit comments

Comments
 (0)