Skip to content
Open
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
2 changes: 1 addition & 1 deletion apps/desktop/electron/main.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5306,7 +5306,7 @@ ipcMain.handle('hermes:connection:revalidate', async () => {

const base = conn.baseUrl.replace(/\/+$/, '')
try {
await fetchPublicJson(`${base}/api/status`, { timeoutMs: 2_500 })
await fetchPublicJson(`${base}/api/status`, { timeoutMs: 10_000 })

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current main renamed this source file to apps/desktop/electron/main.ts in 39d09453f95e8aefc0c97e5d9b30ff341cae9ed8; the live handler is now at main.ts:7405 and still uses 2_500. Port this change to that handler so the fix reaches current main.

return { ok: true, rebuilt: false }
} catch {
// Unreachable remote: drop the stale cache so the renderer's next reconnect
Expand Down
Loading