Files
outline/server
Tom Moor 35dd15b971 Optimize documentCollaborativeUpdater by moving computations outside transaction (#13720)
* perf: shorten row lock held while persisting collaborative documents

The collaborative updater serialized the Y.js state and converted it to
ProseMirror JSON while holding a FOR UPDATE lock on the document row, and
loaded every column including the deprecated markdown text. Both the lock
wait on the SELECT and the subsequent UPDATE are the dominant source of
statement timeouts in production, and API document updates queue behind
the same lock.
2026-09-10 22:07:16 -04:00
..
2026-09-03 01:43:47 -04:00
2026-09-03 01:43:47 -04:00
2026-08-15 13:25:10 -04:00