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 59c3e32
Browse filesBrowse the repository at this point in the historyBrowse files
fix(core): split sqlite read/write lanes and bound WAL checkpoints
Run plain SELECT/EXPLAIN reads on a second sqlite connection in both drivers so they never queue behind the write semaphore; keep writes gated and route in-transaction statements through the transaction connection. Reader connections enforce readonly access and PRAGMA query_only, and stay aliased to the writer for :memory: and disableWAL databases.
Bound WAL growth with wal_autocheckpoint 4000, journal_size_limit 32MB, and a 5-minute PASSIVE checkpoint loop; TRUNCATE stalled the writer for about five seconds per run while holding the write permit.
Throttle shell per-chunk metadata writes to 200ms with a guaranteed dirty flush, annotate GlobalBus listeners, and drop the EventEmitter generic that broke under local bun 1.4 typings. Add file-backed split-driver coverage: cross-connection read-after-write, in-transaction reads, and rollback isolation.
0 commit comments