You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8864c22
Browse filesBrowse the repository at this point in the historyBrowse files
perf(location): read sync pages back to back and check git HEAD at most every 2 s (#1454)
* perf(location): read sync pages back to back and ask git for HEAD at most every 2 s
A synchronization sent one 100-row page per 250 ms watch tick, so a 10,000-row
reconcile spent most of its time waiting for the next tick. While a sync has a
page due, the loop now skips the tick; idle work polling is unchanged.
Only the watch tick asks git for HEAD, at most every 2 s; the work and metadata
fences compare project files only. The SQLite consumption lifecycle case now
inserts recorded_at as text, the way the writer does.
* test(location): take the held-lock case's warehouse lock between syncs
The DuckDB overlap case took its write lock while the restored sync was still
reading, so the busy report landed on whichever table that sync had reached.
With pages read back to back that is no longer source_freshness. The case now
waits for the sync to finish and expects the next sync's first table to report
the lock.
0 commit comments