Files
deepseek-harness/packages/session/session-persistence-sqlite/src
liukx0205 9340e56c4a perf(session): commit concurrent SQLite batches as one group
Each appended batch queues for the next group commit; the yield before a
group lets batches other writers append in the same turn share one
transaction, so a checkpoint costs one commit and one fsync per group
instead of per writer, and the synchronous transaction is bounded by an
event cap. A batch failing on its own terms rolls back to its savepoint
and rejects alone; an error that ends the transaction rejects the group.
2026-11-18 15:20:49 +08:00
..