wrolpi/modules
lrnselfreliance c0452e29e6
Hiding a Calibre book's cover and metadata uses the modeler's session (#936)
Doc._hide_calibre_files opened a second write session while the modeler held
the item's transaction.  SQLite has one writer, so the second session waited
out the 30 s busy timeout and failed with "database is locked"; the modeler
retried three times, so every Calibre epub cost about 98 s and stayed
unmodeled, and the cover.jpg / metadata.opf FileGroups it should have deleted
survived.  On a library of 1663 Calibre books the global refresh's modeling
phase would have taken about two days.

The nested session dates from before the SQLite cutover, when Postgres row
locks let it work.  The delete now runs in the caller's session.

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-02 11:04:28 -07:00
..
archive A download records the sha256 of its files in the wrolpi section (#904) 2026-10-30 19:34:49 -06:00
docs Hiding a Calibre book's cover and metadata uses the modeler's session (#936) 2026-11-02 11:04:28 -07:00
flasher Configs without database rows read and validate only; imports run off the event loop (#874) 2026-10-25 15:17:31 -06:00
inventory Format inventory expiration dates instead of epoch timestamps (#901) 2026-10-31 12:27:21 -06:00
map Map downloads are checked against the hash in the signed manifest (#934) 2026-11-01 20:38:57 -07:00
repos A malformed entry stops a backup preview or merge with an error naming it (#896) 2026-10-27 20:59:49 -06:00
videos A transcode or remux refreshes the sha256 sums a download recorded (#906) 2026-10-30 19:41:29 -06:00
zim A Zim's Search toggle is saved in zims.yaml so a rebuilt database or a newer Zim keeps it (#931) 2026-11-01 13:09:52 -07:00
__init__.py Add a Repos module that mirrors git repositories (#783) 2026-10-07 15:16:58 -06:00