mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-05-07 13:48:40 +00:00
perf: remove provider pre-fetch on dashboard startup
The dashboard was pre-loading data for ALL detected providers on startup, causing unnecessary SQLite scans when Cursor was detected. Now only loads data for the active provider.
This commit is contained in:
parent
2871af10e8
commit
3c439cb28f
1 changed files with 0 additions and 4 deletions
|
|
@ -520,10 +520,6 @@ function InteractiveDashboard({ initialProjects, initialPeriod, initialProvider,
|
|||
}
|
||||
if (!cancelled) {
|
||||
setDetectedProviders(found)
|
||||
if (found.length > 1) {
|
||||
const range = getDateRange(period)
|
||||
for (const name of found) parseAllSessions(range, name).catch(() => {})
|
||||
}
|
||||
}
|
||||
}
|
||||
detect()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue