Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
perf(web-app): render after 1 s of the Cowork migration instead of 3 s
thinhlpg2cda34753162
diff --git a/web-app/src/lib/coworkSync.ts b/web-app/src/lib/coworkSync.tsindex c96f41b23..137dcd8e2 100644--- a/web-app/src/lib/coworkSync.ts+++ b/web-app/src/lib/coworkSync.ts@@ -65,8 +65,11 @@ import { cleanupThreadWorkspace } from '@/lib/agentTools'/*** How long startup waits for the Cowork migration. Past it the app renders and* the migration keeps running; the sessions are re-loaded when it finishes.+ * Small enough that the window is up within the 3 s startup budget (about+ * 0.8 s of native startup comes first); a small history still finishes inside+ * it, so its rows never change after the first render.*/-export const COWORK_MIGRATION_BUDGET_MS = 3000+export const COWORK_MIGRATION_BUDGET_MS = 1000let persistence: CoworkPersistence | null = nulllet unsubscribe: (() => void) | null = null