Files
paperless-ngx/src
stumpylog becfdbaaea Fix: move document files once per request, after its writes commit
A tag PATCH moved files from inside the tags.set() transaction while holding the document row lock. A concurrent save holding media.lock and waiting on that row deadlocked with it, and every later save on the instance queued behind media.lock until the webserver restarted.

FileMoveMiddleware opens a file move scope around every request, in sync or async mode, so each changed document is moved once after the view returns and never while a transaction holds row locks.
2026-11-29 13:43:02 -08:00
..
2026-11-28 23:02:13 +00:00
2026-11-23 19:46:34 +00:00
2023-04-26 09:35:27 -07:00